diff options
author | xyz <gky44px1999@gmail.com> | 2021-08-10 03:44:19 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-08-10 03:44:19 -0700 |
commit | b1dd98e5009ecb4902bf160251094b42897ab1e3 (patch) | |
tree | 86348a5f176282996cef3aed33831035343cb519 | |
parent | 327c2d58c83670219b90b28919be3628acf54e59 (diff) |
sxiv hotkey c as copy to y as yank
-rwxr-xr-x | .config/sxiv/exec/key-handler | 2 |
1 files changed, 1 insertions, 1 deletions
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 |