From f4e394319090af03ea9a958d31a6e21b462f4b4d Mon Sep 17 00:00:00 2001 From: Phantop Date: Thu, 20 Aug 2020 23:07:31 -0400 Subject: [PATCH] Fish: move awall to ~/Pictures --- .config/fish/functions/awall.fish | 11 ++++++----- .setup | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.config/fish/functions/awall.fish b/.config/fish/functions/awall.fish index dc8536d..bd525e8 100644 --- a/.config/fish/functions/awall.fish +++ b/.config/fish/functions/awall.fish @@ -1,14 +1,15 @@ +# Defined in /tmp/fish.XPtG1H/awall.fish @ line 2 function awall if test $argv - rm ~/Videos/.wallp - ln -s ~/Videos/Walls/$argv* ~/Videos/.wallp + rm ~/Pictures/.wallp + ln -s ~/Pictures/Awall/$argv* ~/Pictures/.wallp end kill (pgrep -f "mpv.*wallpaper") - mpv --profile=wallpaper ~/Videos/.wallp & disown + mpv --profile=wallpaper ~/Pictures/.wallp & disown sleep 5 budgie-panel --replace & disown if test $argv - ffmpeg -i ~/Videos/Walls/$argv* -vframes 1 -y ~/Videos/Walls/wall.png - wallp ~/Videos/Walls/wall.png + ffmpeg -i ~/Pictures/Awall/$argv* -vframes 1 -y ~/Pictures/Awall/wall.png + wallp ~/Pictures/Awall/wall.png end end diff --git a/.setup b/.setup index 49814cb..8847b75 100755 --- a/.setup +++ b/.setup @@ -21,3 +21,4 @@ do done fish -c fisher +chsh -s /usr/bin/fish