diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-28 23:54:43 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-28 23:54:43 +0530 |
commit | 542d2e988b4b489b9038c55bcac919d0b026dbb8 (patch) | |
tree | 6267c1705c4d2a7098bc4412ddbf4ffe2d2681b8 /.config/sxiv/exec/key-handler | |
parent | 1f521967ffbb63e1a6b76dfbce5abb22f6cbfa82 (diff) |
dunst font and revert sxiv keybinding for clipboard
Diffstat (limited to '.config/sxiv/exec/key-handler')
-rwxr-xr-x | .config/sxiv/exec/key-handler | 8 |
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 |