From ad8d3b3393a0665a5818eee432821c1fb75f23ee Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 16 Jul 2022 18:56:18 -0400 Subject: [PATCH] sxiv: add support for names with spaces to keyhandler --- src/.config/sxiv/exec/key-handler | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/.config/sxiv/exec/key-handler b/src/.config/sxiv/exec/key-handler index fe300a3..8cb046a 100755 --- a/src/.config/sxiv/exec/key-handler +++ b/src/.config/sxiv/exec/key-handler @@ -2,7 +2,7 @@ while read -r file do case "$1" in - "d") mv $file ~/ ;; - "m") mv $file sta/ ;; + "d") mv "$file" ~/ ;; + "m") mv "$file" sta/ ;; esac done