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