mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
feat: clear states when relaunching or rebooting from the system menu (#2053)
This commit is contained in:
committed by
GitHub
parent
67011160b2
commit
1022734a67
@@ -451,9 +451,9 @@ show_system_menu() {
|
|||||||
*Lock*) omarchy-lock-screen ;;
|
*Lock*) omarchy-lock-screen ;;
|
||||||
*Screensaver*) omarchy-launch-screensaver force ;;
|
*Screensaver*) omarchy-launch-screensaver force ;;
|
||||||
*Suspend*) systemctl suspend ;;
|
*Suspend*) systemctl suspend ;;
|
||||||
*Relaunch*) uwsm stop ;;
|
*Relaunch*) omarchy-state clear relaunch-required && uwsm stop ;;
|
||||||
*Restart*) systemctl reboot ;;
|
*Restart*) omarchy-state clear re*-required && systemctl reboot ;;
|
||||||
*Shutdown*) systemctl poweroff ;;
|
*Shutdown*) omarchy-state clear re*-required && systemctl poweroff ;;
|
||||||
*) back_to show_main_menu ;;
|
*) back_to show_main_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user