mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-03 23:29:23 +00:00
Add screensaver as an option in the power menu
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
show_power_menu() {
|
show_power_menu() {
|
||||||
# The first characters are invisible sort keys.
|
# The first characters are invisible sort keys.
|
||||||
local menu_options=" Lock
|
local menu_options=" Lock
|
||||||
|
Save
|
||||||
Suspend
|
Suspend
|
||||||
Relaunch
|
Relaunch
|
||||||
Restart
|
Restart
|
||||||
@ -11,6 +12,7 @@ show_power_menu() {
|
|||||||
|
|
||||||
case "$selection" in
|
case "$selection" in
|
||||||
*Lock*) hyprlock ;;
|
*Lock*) hyprlock ;;
|
||||||
|
*Show*) ~/.local/share/omarchy/bin/omarchy-launch-screensaver ;;
|
||||||
*Suspend*) systemctl suspend ;;
|
*Suspend*) systemctl suspend ;;
|
||||||
*Relaunch*) uwsm stop ;;
|
*Relaunch*) uwsm stop ;;
|
||||||
*Restart*) systemctl reboot ;;
|
*Restart*) systemctl reboot ;;
|
||||||
|
Reference in New Issue
Block a user