diff options
Diffstat (limited to 'sxiv/.config')
-rwxr-xr-x | sxiv/.config/sxiv/exec/key-handler | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sxiv/.config/sxiv/exec/key-handler b/sxiv/.config/sxiv/exec/key-handler index 443916d..77e4a45 100755 --- a/sxiv/.config/sxiv/exec/key-handler +++ b/sxiv/.config/sxiv/exec/key-handler @@ -1,4 +1,5 @@ #!/bin/sh +WALLPAPER_LOCATION=~/Pictures/Wallpapers/wallpaper.jpg while read file do @@ -10,6 +11,6 @@ do "C-c") echo -n "$file" | xclip -selection clipboard ;; "C-w") - xwallpaper --zoom "$file" ;; + ln -sf "$file" "$WALLPAPER_LOCATION" && xwallpaper --zoom "$file" ;; esac done |