now the notif shows for just long enough

main
The_miro 2026-02-20 11:12:40 +01:00
parent 19b3ac8e9b
commit 92ec5d5873
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@
statecon=$( hyprctl getoption general:layout | grep master ) statecon=$( hyprctl getoption general:layout | grep master )
#notify-send $statecon #notify-send $statecon
if [ "$statecon" != '' ]; then if [ "$statecon" != '' ]; then
notify-send "Layout: Dwindle" notify-send -t 700 "Layout: Dwindle"
hyprctl keyword general:layout dwindle hyprctl keyword general:layout dwindle
else else
notify-send "Layout: Master" notify-send -t 700 "Layout: Master"
hyprctl keyword general:layout master hyprctl keyword general:layout master
fi fi