diff --git a/scripts/power-menu.sh b/scripts/power-menu.sh index e3bc58c..7df4ee6 100755 --- a/scripts/power-menu.sh +++ b/scripts/power-menu.sh @@ -5,6 +5,7 @@ dmenu_command=(wofi -dmenu -p "Power Menu" -i) # Define menu options and corresponding actions options=( "Lock" + "Suspend" "Logout" "Shutdown" "Reboot" @@ -13,6 +14,7 @@ options=( # Create associative array mapping text to actions declare -A actions actions["Lock"]="sleep 0.2 && hyprlock" +actions["Suspend"]="sleep 0.2 && systemctl suspend" actions["Logout"]="hyprctl dispatch exit" actions["Shutdown"]="systemctl poweroff" actions["Reboot"]="systemctl reboot"