From 46c85e49a3a35e3456482fc24625898bcfb4f5d2 Mon Sep 17 00:00:00 2001 From: Wolfgang Woehl Date: Mon, 15 Dec 2025 17:24:31 +0100 Subject: [PATCH] Quit Walker before screensaver launch (#3873) Screensaver launch is broken when Walker is open: It will fail to go fullscreen and exits right after input read's first iteration, due to the screensaver_in_focus() check. See https://github.com/basecamp/omarchy/issues/2992 for an example report. This addition will silently quit an opened Walker menu before launching the screensaver terminal. It is mildly intrusive, alas, as a return from screensaver will not present the pre-screensaver state exactly. --- bin/omarchy-launch-screensaver | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/omarchy-launch-screensaver b/bin/omarchy-launch-screensaver index 6fa5b2c4..44b38f0e 100755 --- a/bin/omarchy-launch-screensaver +++ b/bin/omarchy-launch-screensaver @@ -13,6 +13,9 @@ if [[ -f ~/.local/state/omarchy/toggles/screensaver-off ]] && [[ $1 != "force" ] exit 1 fi +# Silently quit Walker on overlay +walker -q + focused=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name') terminal=$(xdg-terminal-exec --print-id)