Switch to running quickshell as a systemd service that is auto-restarted if it crashes

This commit is contained in:
David Heinemeier Hansson
2026-05-18 13:58:07 +02:00
parent 8424718d1b
commit b0f5d941ba
38 changed files with 735 additions and 244 deletions
+4 -4
View File
@@ -4,8 +4,8 @@
# omarchy:args=[toggle|summon|close|refresh|ping] [route]
# omarchy:examples=omarchy menu | omarchy menu toggle system | omarchy menu summon style.theme | omarchy menu refresh
# Thin wrapper around `omarchy-shell-ipc menu`. Keybinds and the bar icon
# call omarchy-shell-ipc directly to skip the omarchy-CLI dispatch hop;
# Thin wrapper around `omarchy-shell menu`. Keybinds and the bar icon
# call omarchy-shell directly to skip the omarchy-CLI dispatch hop;
# this exists so humans get `omarchy menu toggle X` etc.
verb="${1-toggle}"
@@ -13,10 +13,10 @@ route="${2-root}"
case "$verb" in
toggle | summon)
exec omarchy-shell-ipc menu "$verb" "$route"
exec omarchy-shell menu "$verb" "$route"
;;
close | refresh | ping)
exec omarchy-shell-ipc menu "$verb"
exec omarchy-shell menu "$verb"
;;
-h | --help | help)
cat <<USAGE