mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-10 01:51:15 +10:00
Edit sxiv key-handler: change where wallpaper is stored.
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user