mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-12 00:15:17 +00:00
15 lines
442 B
Fish
15 lines
442 B
Fish
# Defined in /tmp/fish.d5qSF9/awall.fish @ line 2
|
|
function awall
|
|
if test $argv
|
|
rm ~/Videos/.wallp
|
|
ln -s ~/Videos/Walls/$argv* ~/Videos/.wallp
|
|
end
|
|
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
|