diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2024-05-07 09:32:28 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2024-05-07 09:32:28 +0900 |
| commit | 423140c7fb7cd1263f08702cbb8439a091ceddb8 (patch) | |
| tree | d590d67903f616f31db04a4b8cebbccbb625b94f | |
| parent | 6e3d093a4477b3a5e014e5f99b0315ea7e81199a (diff) | |
small adjust for better ags overview search box and prompt
| -rw-r--r-- | config/ags/user/style.css | 17 | ||||
| -rwxr-xr-x | config/hypr/scripts/DarkLight.sh | 6 | ||||
| -rwxr-xr-x | config/hypr/scripts/Refresh.sh | 3 |
3 files changed, 15 insertions, 11 deletions
diff --git a/config/ags/user/style.css b/config/ags/user/style.css index ff6b8a57..0519fb17 100644 --- a/config/ags/user/style.css +++ b/config/ags/user/style.css @@ -6,9 +6,10 @@ /* @import '../../../.cache/wal/colors-waybar-rgba.css'; */ /* define some colors */ -@define-color border-color @color2; -@define-color border-color-alt @color7; -@define-color noti-bg rgba(0, 0, 0, 0.8); +@define-color border-color @color2; +@define-color border-color-alt @color7; +@define-color text-color rgba(255, 255, 255, 0.7); +@define-color noti-bg rgba(0, 0, 0, 0.4); @define-color noti-bg-alt #111111; widget { @@ -35,13 +36,13 @@ widget { padding: 0rem 1.364rem; padding-right: 2.864rem; background-color: @noti-bg; - color: @color2; - caret-color: transparent; + color: @text-color; + caret-color: inherit; font-weight: bolder; } .overview-search-box selection { background-color: @noti-bg; - color: @border-color; + color: @text-color; } .overview-search-box-extended { @@ -50,7 +51,7 @@ widget { } .overview-search-prompt { - color: @color2; + color: @text-color; } .overview-search-icon { @@ -79,7 +80,7 @@ widget { min-width: 28.773rem; padding: 0.682rem; background-color: @noti-bg; - color: @border-color; + color: @text-color; font-weight: bold; } diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 6d6c57c9..f9d2a933 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -77,10 +77,12 @@ fi # ags color change if [ "$next_mode" = "Dark" ]; then - sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(0, 0, 0, 0.8);/' "${ags_style}" + sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(0, 0, 0, 0.4);/' "${ags_style}" + sed -i '/@define-color text-color/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(255, 255, 255, 0.7);/' "${ags_style}" sed -i '/@define-color noti-bg-alt/s/#.*;/#111111;/' "${ags_style}" else - sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(255, 255, 255, 0.9);/' "${ags_style}" + sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(255, 255, 255, 0.4);/' "${ags_style}" + sed -i '/@define-color text-color/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(0, 0, 0, 0.7);/' "${ags_style}" sed -i '/@define-color noti-bg-alt/s/#.*;/#F0F0F0;/' "${ags_style}" fi diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index bf806e01..aeae77d1 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -1,6 +1,6 @@ #!/bin/bash # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## -# Scripts for refreshing waybar, rofi, swaync, pywal colors +# Scripts for refreshing ags waybar, rofi, swaync, pywal colors SCRIPTSDIR=$HOME/.config/hypr/scripts UserScripts=$HOME/.config/hypr/UserScripts @@ -22,6 +22,7 @@ for _prs in "${_ps[@]}"; do fi done +# quit ags ags -q sleep 0.3 |
