diff options
Diffstat (limited to '.config/sxiv/exec/key-handler')
-rwxr-xr-x | .config/sxiv/exec/key-handler | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index cc36dca..4543963 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -9,10 +9,10 @@ do "R") convert -rotate 270 "$file" "$file" ;; "c") - xclip -sel c -t image/png -i $file ;; + xclip -sel c -t image/png -i "$file" ;; "s") setbg "$file";; "i") - convert $file -channel RGB -negate /tmp/output.png && sxiv -f /tmp/output.png ;; + convert "$file" -channel RGB -negate /tmp/output.png && sxiv -f /tmp/output.png ;; esac done |