1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-11-28 15:25:55 +00:00

Awall: correctly set wallpaper image

This commit is contained in:
Phantop 2020-09-01 21:14:11 -04:00
parent d00b6fdefc
commit f9d7eaf674

View file

@ -8,6 +8,7 @@ mpv --profile=wallpaper ~/Pictures/.wallp & disown
if [[ "$#" -ge 1 ]]; then if [[ "$#" -ge 1 ]]; then
ffmpeg -i ~/Pictures/Awall/$@* -vframes 1 -y ~/Pictures/Awall/wall.png ffmpeg -i ~/Pictures/Awall/$@* -vframes 1 -y ~/Pictures/Awall/wall.png
wallp ~/Pictures/Awall/wall.png wallp ~/Pictures/Awall/wall.png
gsettings set org.gnome.desktop.background picture-uri "file://~/Pictures/Awall/wall.png"
else else
sleep 5 sleep 5
fi fi