#!/bin/bash choice=$(printf "Poweroff\nReboot\nLogout" | wofi \ --dmenu \ --window \ --normal-window \ --hide-scroll true \ --hide-search true \ --prompt "" \ --width 10 \ --lines 3 \ --columns 1) case "$choice" in Poweroff) hyprshutdown --post-cmd 'systemctl poweroff' ;; Reboot) hyprshutdown --post-cmd 'systemctl reboot' ;; Logout) hyprshutdown ;; esac