Split i3 classic config with XFCE+i3 config

This commit is contained in:
Fabio Scotto di Santolo
2026-02-28 21:46:37 +01:00
parent ec0b9a5b8d
commit 0d1007d41f
10 changed files with 314 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
chosen=$(echo -e "⏻ Shutdown\n Restart\n Logout\n Suspend\n Hibernate" | rofi -dmenu -p "Power Menu:" -theme-str 'window {width: 20%;}')
case "$chosen" in
"⏻ Shutdown") systemctl poweroff ;;
" Restart") systemctl reboot ;;
" Logout") loginctl terminate-session $XDG_SESSION_ID ;;
" Suspend") systemctl suspend ;;
" Hibernate") systemctl hibernate ;;
*) exit 0 ;;
esac