#!/run/current-system/sw/bin/bash

# Wofi power menu - simple version
choice=$(printf "Logout\nReboot\nShutdown\nSuspend" | wofi --dmenu --prompt="" --cache-file=/dev/null)

case $choice in
    "Logout")
        hyprctl dispatch exit
        ;;
    "Reboot")
        systemctl reboot
        ;;
    "Shutdown")
        systemctl poweroff
        ;;
    "Suspend")
        systemctl suspend
        ;;
esac