choice=$(printf "Shutdown\nReboot\nSuspend\nLogout" | rofi -dmenu -theme "~/.config/rofi/ayu-retro.rasi" -p "╔═[ SYSTEM MENU ]═╗") case "$choice" in " Shutdown") systemctl poweroff ;; " Reboot") systemctl reboot ;; " Suspend") systemctl suspend ;; " Logout") i3-msg exit ;; # adjust for your WM esac