Add screensaver as an option in the power menu

This commit is contained in:
David Heinemeier Hansson
2025-08-02 14:44:01 +02:00
parent 34f24cb38a
commit 63840c6e9a

View File

@ -3,6 +3,7 @@
show_power_menu() {
# The first characters are invisible sort keys.
local menu_options=" Lock
󱄄 Save
󰤄 Suspend
 Relaunch
󰜉 Restart
@ -11,6 +12,7 @@ show_power_menu() {
case "$selection" in
*Lock*) hyprlock ;;
*Show*) ~/.local/share/omarchy/bin/omarchy-launch-screensaver ;;
*Suspend*) systemctl suspend ;;
*Relaunch*) uwsm stop ;;
*Restart*) systemctl reboot ;;