commit fe0b89f1ffac6910d7722cd9398781612d6bb890 parent 02b695e2b39fa0659a9a10ef7c6361b0fa40c771 Author: tongong <tongong@gmx.net> Date: Mon, 25 Oct 2021 17:03:37 +0200 [sxiv] fixed quoting in handler script Diffstat:
M | config/sxiv/exec/key-handler | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/sxiv/exec/key-handler b/config/sxiv/exec/key-handler @@ -23,8 +23,8 @@ # } case "$1" in - "C-d") mkdir -p /tmp/sxiv-del; while read file; do mv -vf $file /tmp/sxiv-del; done ;; - "C-m") mkdir -p /tmp/sxiv-mark; while read file; do mv -vf $file /tmp/sxiv-mark; done ;; + "C-d") mkdir -p /tmp/sxiv-del; while read file; do mv -vf "$file" /tmp/sxiv-del; done ;; + "C-m") mkdir -p /tmp/sxiv-mark; while read file; do mv -vf "$file" /tmp/sxiv-mark; done ;; # "C-x") xclip -in -filter | tr '\n' ' ' | xclip -in -selection clipboard ;; # "C-c") while read file; do xclip -selection clipboard -target image/png "$file"; done ;; # "C-e") while read file; do urxvt -bg "#444" -fg "#eee" -sl 0 -title "$file" -e sh -c "exiv2 pr -q -pa '$file' | less" & done ;;