power menu, redshift, polybar

This commit is contained in:
azpsen
2024-01-28 16:37:10 -06:00
parent 89516a6ce1
commit 319b44ecbd
307 changed files with 7642 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/sh
case "$1" in
--popup)
yad=$(yad --width 300 --entry --undecorated --title "System Logout" --image=gnome-shutdown --text "Choose action:" --entry-text "Shutdown" "Reboot" "Logout" "Suspend")
case "$yad" in
Shutdown)
poweroff
;;
Reboot)
reboot
;;
Suspend)
hibernate
;;
Logout)
bspc quit
;;
esac
;;
*)
echo "#1"
;;
esac