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:
parent
20689404ad
commit
a4a3dad957
|
@ -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
|
||||
|
|
|
@ -33,3 +33,4 @@ no-input-default-bindings
|
|||
no-stop-screensaver
|
||||
on-all-workspaces
|
||||
start=0:00
|
||||
panscan=1
|
||||
|
|
Loading…
Reference in a new issue