From 542d2e988b4b489b9038c55bcac919d0b026dbb8 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 28 Jul 2022 23:54:43 +0530 Subject: dunst font and revert sxiv keybinding for clipboard --- .config/sxiv/exec/key-handler | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/sxiv') 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 -- cgit v1.2.3