Repaired hyprpaper setting wallpaper

This commit is contained in:
Hannes
2026-05-08 20:22:42 +02:00
parent 108c6c6b53
commit 621cc1077e
+4 -1
View File
@@ -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