#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
set -eu
choice=$(printf '%s\n' '  Lock' '  Logout' '  Suspend' '  Reboot' '  Shutdown' |
    wofi --dmenu --prompt 'Power' --width 260 --height 240 --lines 5) || exit 0
case "$choice" in
    '  Lock') exec meowven-lock ;;
    '  Logout') exec hyprshutdown ;;
    '  Suspend') exec systemctl suspend ;;
    '  Reboot') exec systemctl reboot ;;
    '  Shutdown') exec kitty --title=Ameow ameow ;;
esac
