chaged structure and added intsal script

This commit is contained in:
Jürg Hallenbarter
2026-01-26 08:35:13 +00:00
parent 0279dceb7f
commit d15ca29883
10 changed files with 182 additions and 108 deletions

12
i3/overlay-menu.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Fullscreen overlay menu
OPTIONS="Reboot\nShutdown\nLock Screen\nCancel"
CHOICE=$(echo -e $OPTIONS | rofi -dmenu -fullscreen -p "Action" -lines 4 -bw 2 -kb-accept-entry 'Return' -kb-cancel 'Escape')
case "$CHOICE" in
"Reboot") systemctl reboot ;;
"Shutdown") systemctl poweroff ;;
"Lock Screen") i3lock ;;
"Cancel"|"") exit 0 ;;
esac