1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-10 08:54:54 +00:00
dotfiles/.config/fish/functions/awall.fish

16 lines
454 B
Fish
Raw Normal View History

2020-07-13 18:13:24 +00:00
# Defined in /tmp/fish.JkZKD9/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
2020-07-13 18:13:24 +00:00
sleep 5
budgie-panel --replace & disown
2020-04-28 00:41:22 +00:00
if test $argv
ffmpeg -i ~/Videos/Walls/$argv* -vframes 1 -y ~/Videos/Walls/wall.png
wallp ~/Videos/Walls/wall.png
end
end