More natural order
This commit is contained in:
+3
-3
@@ -566,17 +566,17 @@ show_about() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_system_menu() {
|
show_system_menu() {
|
||||||
local options=" Screensaver\n Lock\n Logout"
|
local options=" Screensaver\n Lock"
|
||||||
[[ ! -f ~/.local/state/omarchy/toggles/suspend-off ]] && options="$options\n Suspend"
|
[[ ! -f ~/.local/state/omarchy/toggles/suspend-off ]] && options="$options\n Suspend"
|
||||||
omarchy-hibernation-available && options="$options\n Hibernate"
|
omarchy-hibernation-available && options="$options\n Hibernate"
|
||||||
options="$options\n Restart\n Shutdown"
|
options="$options\n Logout\n Restart\n Shutdown"
|
||||||
|
|
||||||
case $(menu "System" "$options") in
|
case $(menu "System" "$options") in
|
||||||
*Screensaver*) omarchy-launch-screensaver force ;;
|
*Screensaver*) omarchy-launch-screensaver force ;;
|
||||||
*Lock*) omarchy-lock-screen ;;
|
*Lock*) omarchy-lock-screen ;;
|
||||||
*Logout*) omarchy-system-logout ;;
|
|
||||||
*Suspend*) systemctl suspend ;;
|
*Suspend*) systemctl suspend ;;
|
||||||
*Hibernate*) systemctl hibernate ;;
|
*Hibernate*) systemctl hibernate ;;
|
||||||
|
*Logout*) omarchy-system-logout ;;
|
||||||
*Restart*) omarchy-cmd-reboot ;;
|
*Restart*) omarchy-cmd-reboot ;;
|
||||||
*Shutdown*) omarchy-cmd-shutdown ;;
|
*Shutdown*) omarchy-cmd-shutdown ;;
|
||||||
*) back_to show_main_menu ;;
|
*) back_to show_main_menu ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user