summaryrefslogtreecommitdiff
path: root/.config/sxiv/exec/key-handler
diff options
context:
space:
mode:
Diffstat (limited to '.config/sxiv/exec/key-handler')
-rwxr-xr-x.config/sxiv/exec/key-handler4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index 0d25a50..cc36dca 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -6,8 +6,10 @@ do
trash-put "$file";;
"r")
convert -rotate 90 "$file" "$file" ;;
+ "R")
+ convert -rotate 270 "$file" "$file" ;;
"c")
- echo -n "$file" | xclip -selection clipboard ;;
+ xclip -sel c -t image/png -i $file ;;
"s")
setbg "$file";;
"i")