aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ChangeLayout.sh
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2023-12-17 16:08:13 +0900
committerJa.KooLit <ejhay.games@gmail.com>2023-12-17 16:13:47 +0900
commitc4c2716c25936f632aa5bb8fd589a57b53714be8 (patch)
tree650e29a07cb52ff7973361f92968ece49ea19066 /config/hypr/scripts/ChangeLayout.sh
parent1ddbdc34f9544d9d54c1a9c1717955573484eac2 (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/ChangeLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/ChangeLayout.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/hypr/scripts/ChangeLayout.sh b/config/hypr/scripts/ChangeLayout.sh
index 6cb342fa..28b72035 100755
--- a/config/hypr/scripts/ChangeLayout.sh
+++ b/config/hypr/scripts/ChangeLayout.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+dunst_notif="$HOME/.config/dunst/images/bell.png"
+
LAYOUT=$(hyprctl -j getoption general:layout | jq '.str' | sed 's/"//g')
case $LAYOUT in
@@ -10,7 +12,7 @@ case $LAYOUT in
hyprctl keyword bind SUPER,J,cyclenext
hyprctl keyword bind SUPER,K,cyclenext,prev
hyprctl keyword bind SUPER,O,togglesplit
- notify-send "Dwindle Layout"
+ dunstify -u low -i "$dunst_notif" "Dwindle Layout"
;;
"dwindle")
hyprctl keyword general:layout master
@@ -19,7 +21,7 @@ case $LAYOUT in
hyprctl keyword unbind SUPER,O
hyprctl keyword bind SUPER,J,layoutmsg,cyclenext
hyprctl keyword bind SUPER,K,layoutmsg,cycleprev
- notify-send "Master Layout"
+ dunstify -u low -i "$dunst_notif" "Master Layout"
;;
*) ;;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage