Edit sxiv key-handler: change where wallpaper is stored.

This commit is contained in:
Derek Taylor 2021-10-16 15:50:16 -05:00
parent db24d9ae2e
commit 2a687641af
1 changed files with 2 additions and 2 deletions

View File

@ -52,11 +52,11 @@ do
;;
"x")
xwallpaper --stretch "$file" &&
filename=$HOME/.xwallpaper
filename=$HOME/.cache/wall
if [ ! -f $filename ]; then
touch $filename
fi
echo "$file" > $HOME/.xwallpaper &&
echo "$file" > $HOME/.cache/wall &&
notify-send "$file has been set as your wallpaper." && exit 0
;;
"7")