Repaired hyprpaper setting wallpaper
This commit is contained in:
@@ -43,7 +43,10 @@ elif [ -x "/usr/bin/hyprpaper" ]; then
|
|||||||
echo "daemon started"
|
echo "daemon started"
|
||||||
fi
|
fi
|
||||||
sed -i "3s|path = .*|path = ${image}|" ~/.config/hypr/hyprpaper.conf
|
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
|
fi
|
||||||
|
|
||||||
if [ -x "/usr/bin/matugen" ]; then
|
if [ -x "/usr/bin/matugen" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user