summaryrefslogtreecommitdiff
path: root/.config/sxiv/exec
diff options
context:
space:
mode:
Diffstat (limited to '.config/sxiv/exec')
-rwxr-xr-x.config/sxiv/exec/key-handler8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index 7460b31..2564c63 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -6,13 +6,13 @@ do
trash-put "$file";;
"r")
convert -rotate 90 "$file" "$file" ;;
- "R")
- convert -rotate 270 "$file" "$file" ;;
+ "R")
+ convert -rotate 270 "$file" "$file" ;;
"c")
- echo -n "$file" | xclip -sel c ;;
+ 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