Fixes for the update

This commit is contained in:
Hannes
2026-05-11 21:57:29 +02:00
parent 4a82b18433
commit f9754ea924
8 changed files with 35 additions and 26 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ 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
echo "set Wallpaper to $image with hyprpaper"
fi