mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-03 15:19:24 +00:00
Add screensaver as an option in the power menu
This commit is contained in:
@ -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 ;;
|
||||
|
Reference in New Issue
Block a user