In between commit

This commit is contained in:
2026-03-06 10:24:41 +01:00
parent 50b70e55d1
commit 7817190e70
73 changed files with 1976 additions and 0 deletions
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
set -euo pipefail
OPTIONS=" Lock
 Logout (Hyprland)
 Suspend
 Hibernate
 Reboot
 Shutdown
 Cancel"
CHOICE=$(printf "%s" "$OPTIONS" | walker --dmenu )
case "$CHOICE" in
"Lock")
loginctl lock-session
;;
"Logout (Hyprland)")
hyprctl dispatch exit
;;
"Suspend")
loginctl lock-session && systemctl suspend
;;
"Hibernate")
loginctl lock-session && systemctl hibernate
;;
"Reboot")
systemctl reboot
;;
"Shutdown")
systemctl poweroff
;;
*)
exit 0
;;
esac