From 621cc1077e8b90c0fc17542603777aae51b3e066 Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 8 May 2026 20:22:42 +0200 Subject: [PATCH] Repaired hyprpaper setting wallpaper --- modules/wp/set-wallpaper.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/wp/set-wallpaper.sh b/modules/wp/set-wallpaper.sh index ff4087d..69eeb6e 100755 --- a/modules/wp/set-wallpaper.sh +++ b/modules/wp/set-wallpaper.sh @@ -43,7 +43,10 @@ elif [ -x "/usr/bin/hyprpaper" ]; then echo "daemon started" fi sed -i "3s|path = .*|path = ${image}|" ~/.config/hypr/hyprpaper.conf - hyprctl hyprpaper wallpaper ", $image" + + hyprctl monitors -j | jq -r 'sort_by(.id) | .[].name' | while IFS= read -r display; do + hyprctl hyprpaper wallpaper "$display, $image" + done fi if [ -x "/usr/bin/matugen" ]; then