Added waybar

This commit is contained in:
Trianta
2024-01-16 18:33:53 -06:00
parent f0e13819fb
commit 1a39ddde49
7 changed files with 321 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/bin/bash
case $(wofi -d -L 6 -l 3 -W 100 -x -100 -y 10 \
-D dynamic_lines=true << EOF | sed 's/^ *//'
Shutdown
Reboot
Log off
Sleep
Lock
Cancel
EOF
) in
"Shutdown")
systemctl poweroff
;;
"Reboot")
systemctl reboot
;;
"Sleep")
systemctl suspend
;;
"Lock")
loginctl lock-session
;;
"Log off")
hyprctl dispatch exit
;;
esac