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:
parent
d00b6fdefc
commit
f9d7eaf674
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue