1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-02-06 03:26:49 +00:00

awall: set first frame as wallpaper

This commit is contained in:
Phantop 2020-04-27 20:41:22 -04:00
parent 20689404ad
commit a4a3dad957
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# Defined in /tmp/fish.2QDpqS/awall.fish @ line 2
# Defined in /tmp/fish.d5qSF9/awall.fish @ line 2
function awall
if test $argv
rm ~/Videos/.wallp
@ -7,4 +7,8 @@ function awall
kill (pgrep -f "mpv.*wallpaper")
mpv --profile=wallpaper ~/Videos/.wallp & disown
budgie-panel --replace & disown
if test $argv
ffmpeg -i ~/Videos/Walls/$argv* -vframes 1 -y ~/Videos/Walls/wall.png
wallp ~/Videos/Walls/wall.png
end
end

View file

@ -33,3 +33,4 @@ no-input-default-bindings
no-stop-screensaver
on-all-workspaces
start=0:00
panscan=1