diff options
Diffstat (limited to 'sxiv')
| -rwxr-xr-x | sxiv/.config/sxiv/exec/key-handler | 15 | 
1 files changed, 15 insertions, 0 deletions
| diff --git a/sxiv/.config/sxiv/exec/key-handler b/sxiv/.config/sxiv/exec/key-handler new file mode 100755 index 0000000..443916d --- /dev/null +++ b/sxiv/.config/sxiv/exec/key-handler @@ -0,0 +1,15 @@ +#!/bin/sh + +while read file +do +        case "$1" in +        "C-d") +                mv "$file" ~/.trash ;; +        "C-r") +                convert -rotate 90 "$file" "$file" ;; +        "C-c") +                echo -n "$file" | xclip -selection clipboard ;; +        "C-w") +                xwallpaper --zoom "$file" ;; +        esac +done | 
