From dc9f0cd58454b4cb33a704b11e4cc8a7c6594e67 Mon Sep 17 00:00:00 2001 From: Kiran George Date: Wed, 24 Apr 2024 22:19:05 +0530 Subject: Added ags overview widget Updated search iscon for overview search result suggested action Removed excluded site from overview web search Updated calculator icon for overview Updated overview search action icon spacing Added initial pywal integration to overview search and updated seach icon --- config/hypr/UserConfigs/Startup_Apps.conf | 1 + config/hypr/configs/Keybinds.conf | 1 + config/hypr/scripts/Refresh.sh | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index ee387d8f..c6b96ee5 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -25,6 +25,7 @@ exec-once = nm-applet --indicator & exec-once = swaync & #exec-once = blueman-applet & #exec-once = rog-control-center & +exec-once = ags & #clipboard manager diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 1946cc27..1cc8e2af 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -30,6 +30,7 @@ bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwi bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC panel bind = SHIFT, ALT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard Layout +bind = $mainMod, A, exec, ags -t 'overview' # FEATURES / EXTRAS (UserScripts) bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index 15516dff..bf806e01 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -15,13 +15,15 @@ file_exists() { } # Kill already running processes -_ps=(waybar rofi swaync) +_ps=(waybar rofi swaync ags) for _prs in "${_ps[@]}"; do if pidof "${_prs}" >/dev/null; then pkill "${_prs}" fi done +ags -q + sleep 0.3 # Relaunch waybar waybar & @@ -30,6 +32,9 @@ waybar & sleep 0.5 swaync > /dev/null 2>&1 & +# relaunch ags +ags & + # Relaunching rainbow borders if the script exists sleep 1 if file_exists "${UserScripts}/RainbowBorders.sh"; then -- cgit v1.2.3 From 6f5cd04f60601be888c09581210deba091f8949a Mon Sep 17 00:00:00 2001 From: Kiran George Date: Sat, 4 May 2024 14:16:12 +0530 Subject: Improved colour scheme for light and dark wallpapers in overview search and added blur --- config/ags/user/style.css | 26 ++++++++++++++------------ config/hypr/UserConfigs/WindowRules.conf | 3 +++ 2 files changed, 17 insertions(+), 12 deletions(-) (limited to 'config/hypr') diff --git a/config/ags/user/style.css b/config/ags/user/style.css index 7941573d..b1496687 100644 --- a/config/ags/user/style.css +++ b/config/ags/user/style.css @@ -23,16 +23,16 @@ widget { border-left: 1px solid @color7; border-right: 1px solid @color7; border-bottom: 1px solid @color7; - box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.45); + /* box-shadow: 0px 2px 3px alpha(@color0, 0.45); */ margin: 0.476rem; min-width: 13.636rem; min-height: 3.409rem; padding: 0rem 1.364rem; padding-right: 2.864rem; background-color: alpha(@color0, 0.5); - /* color: #EBDFED; */ color: alpha(@color7, 0.9); caret-color: transparent; + font-weight: bold; } .overview-search-box selection { background-color: #DEBCDF; @@ -45,7 +45,6 @@ widget { } .overview-search-prompt { - /* color: #988D9D; */ color: alpha(@color7, 0.9); } @@ -70,12 +69,13 @@ widget { border-left: 1px solid @color7; border-right: 1px solid @color7; border-bottom: 1px solid @color7; - box-shadow: 0px 2px 3px @color8; + box-shadow: 0px 2px 3px @color9; margin: 0.476rem; min-width: 28.773rem; padding: 0.682rem; - background-color: @color2; - color: #EBDFED; + background-color: alpha(@color2, 0.5); + color: alpha(@color7, 1.5); + font-weight: bold; } .overview-search-results-icon { @@ -106,11 +106,13 @@ widget { .overview-search-result-btn:hover, .overview-search-result-btn:focus { - background-color: #2E2832; + background-color: alpha(@color7, 0.4); + color: alpha(@color0, 0.7); } .overview-search-result-btn:active { - background-color: #39323D; + background-color: alpha(@color7, 0.4); + color: @color4; } .overview-tasks { @@ -124,7 +126,7 @@ widget { margin: 0.476rem; padding: 0.341rem; /* background-color: rgba(49, 50, 68, 0.8); */ - background-color: alpha(@color9, 0.4); + background-color: alpha(@color0, 0.6); color: #EBDFED; } @@ -157,15 +159,15 @@ widget { .overview-tasks-window:hover, .overview-tasks-window:focus { - background-color: @color9; + background-color: alpha(@color9, 0.8); } .overview-tasks-window:active { - background-color: @color9; + background-color: alpha(@color9, 0.8); } .overview-tasks-window-selected { - background-color: @color9; + background-color: alpha(@color9, 0.8); } .overview-tasks-window-dragging { diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 38d41222..0d870443 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -83,6 +83,9 @@ windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$ # gnome-keyring gui #layerrule = blur,class:^([Rr]ofi)$ #layerrule = ignorezero, +layerrule = ignorezero, overview +layerrule = blur, overview + #windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1 #windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1 #windowrulev2 = opacity 0.8 0.8, pinned:1 -- cgit v1.2.3