From 1a3de2a071dee86cd1240c36ca29685049ba469b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 19 May 2026 11:20:53 +0200 Subject: [PATCH] Kill the old instances --- migrations/1779180647.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/migrations/1779180647.sh b/migrations/1779180647.sh index 1d0ceefe..63f24e0d 100644 --- a/migrations/1779180647.sh +++ b/migrations/1779180647.sh @@ -1,7 +1,11 @@ -echo "Remove the omarchy-shell user service" +echo "Remove the omarchy-shell user service and old standalone Quickshells" systemctl --user disable --now omarchy-shell.service >/dev/null 2>&1 || true rm -f ~/.config/systemd/user/omarchy-shell.service systemctl --user daemon-reload >/dev/null 2>&1 || true +for pid in $(pgrep -f "quickshell .* -p $OMARCHY_PATH/default/quickshell/(menu|select-by-image)\.qml" || true); do + kill "$pid" 2>/dev/null || true +done + omarchy-restart-shell