diff options
| author | Ja.KooLit <ejhay.games@gmail.com> | 2023-12-17 16:08:13 +0900 |
|---|---|---|
| committer | Ja.KooLit <ejhay.games@gmail.com> | 2023-12-17 16:13:47 +0900 |
| commit | c4c2716c25936f632aa5bb8fd589a57b53714be8 (patch) | |
| tree | 650e29a07cb52ff7973361f92968ece49ea19066 /config/hypr/scripts/ChangeBlur.sh | |
| parent | 1ddbdc34f9544d9d54c1a9c1717955573484eac2 (diff) | |
1.) Added ChangeBlur keybinds (Super Shift B), same added in Keyhints.sh (Super H)
2.) Increased Blur Settings
3.) Tweaked and Cleaned up scripts, some small tweak only like adding a bell icon
- > Gamemode toggle (Super Shift G) will now reload previous wallpaper once back to normal modified
- > The pywalSwww.sh is integrated in Refresh.sh to update rofi background
Diffstat (limited to 'config/hypr/scripts/ChangeBlur.sh')
| -rwxr-xr-x | config/hypr/scripts/ChangeBlur.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/hypr/scripts/ChangeBlur.sh b/config/hypr/scripts/ChangeBlur.sh index 247265f2..46d8a1f8 100755 --- a/config/hypr/scripts/ChangeBlur.sh +++ b/config/hypr/scripts/ChangeBlur.sh @@ -1,13 +1,15 @@ #!/bin/bash +dunst_notif="$HOME/.config/dunst/images/bell.png" + STATE=$(hyprctl -j getoption decoration:blur:passes | jq ".int") if [ "${STATE}" == "2" ]; then - hyprctl keyword decoration:blur:size 3 + hyprctl keyword decoration:blur:size 2 hyprctl keyword decoration:blur:passes 1 - notify-send "Less blur" + dunstify -u low -i "$dunst_notif" "Less blur" else - hyprctl keyword decoration:blur:size 7.8 + hyprctl keyword decoration:blur:size 6 hyprctl keyword decoration:blur:passes 2 - notify-send "Normal blur" + dunstify -u low -i "$dunst_notif" "Normal blur" fi |
