From be6a81704c12f5291e05e72e4d91b06a7832825f Mon Sep 17 00:00:00 2001 From: Amy Retzerau Date: Sat, 10 Jan 2026 16:00:37 +0100 Subject: [PATCH] fix: improved raise condition test --- wallpaper/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallpaper/script.sh b/wallpaper/script.sh index 03467bf..aca9d65 100755 --- a/wallpaper/script.sh +++ b/wallpaper/script.sh @@ -11,7 +11,7 @@ else LAST_WALLPAPER=-1 fi -until hyprctl -j monitors | grep -q " " +until [[ -e "$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.hyprpaper.sock" ]] do sleep 0.1 done