From c62cd3729820f6f8ec906f2eb24b805444eb5ef8 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 24 Jan 2026 16:09:52 +0100 Subject: [PATCH] Hyprland: Update wallpaper.sh for new hyprpaper.sock location --- .local/bin/wm/wallpaper.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.local/bin/wm/wallpaper.sh b/.local/bin/wm/wallpaper.sh index ab6791b..11844a1 100755 --- a/.local/bin/wm/wallpaper.sh +++ b/.local/bin/wm/wallpaper.sh @@ -11,13 +11,10 @@ if [ "$WAYLAND" = true ]; then setsid -f hyprpaper # Wait until hyprpaper is available - while true; do - output=$(hyprctl hyprpaper) - if ! echo "$output" | grep -q ".sock"; then - break - fi + while [ -z "$(find "$XDG_RUNTIME_DIR/hypr" -name ".hyprpaper.sock")" ]; do sleep 0.1 done + sleep 0.1 hyprctl hyprpaper preload "$WALLPAPER" hyprctl hyprpaper wallpaper ",$WALLPAPER"