summaryrefslogtreecommitdiff
path: root/.config/sxiv
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-07-04 10:43:21 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-07-04 10:43:21 +0530
commit7631fefc29e95a89d9a6c243456af6e7a43b1801 (patch)
tree21978f3575f3e30cc7941ebd9b1991223a365521 /.config/sxiv
parent11da908b78b474dc8b574f9dea695c633fd8a88f (diff)
mpv and sxiv config file changes
Diffstat (limited to '.config/sxiv')
-rwxr-xr-x.config/sxiv/exec/key-handler4
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