From b1dd98e5009ecb4902bf160251094b42897ab1e3 Mon Sep 17 00:00:00 2001 From: xyz Date: Tue, 10 Aug 2021 03:44:19 -0700 Subject: sxiv hotkey c as copy to y as yank --- .config/sxiv/exec/key-handler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index ef181a76..e9b43afd 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -37,7 +37,6 @@ flip() { } case "$1" in - "c") tr '\n' '\0' | xargs -0 realpath | xsel -b ;; "d") [ "$(promptd "delete?")" = "Yes" ] && tr '\n' '\0' | xargs -0 rm ;; "e") while read file; do alacritty -e sh -c "exiv2 pr -q -pa '$file' | less" & done ;; "f") flip ;; @@ -45,5 +44,6 @@ case "$1" in "l") tr '\n' '\0' | xargs -0 realpath -z | xargs -0 ln -s -t "$HOME/pictures/wallpapers" ;; "r") rotate ;; "w") tr '\n' '\0' | xargs -0 xwallpaper --maximize ;; + "y") tr '\n' '\0' | xargs -0 realpath | xsel -b ;; esac -- cgit v1.2.3-70-g09d2