summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nsxiv
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-11-14 18:38:15 -0800
committerxyz <gky44px1999@gmail.com>2021-11-14 18:38:15 -0800
commitcda9c85bd3ee0f894a2fb193b984a22543f01124 (patch)
tree7ff67be826f545526a5658cba453d3b2c16aab65 /home/xyz/.config/nsxiv
parent67aa45257aef74daf5089973d2caf8f0c7c8cf95 (diff)
alternative comment
Diffstat (limited to 'home/xyz/.config/nsxiv')
-rwxr-xr-xhome/xyz/.config/nsxiv/exec/key-handler1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/xyz/.config/nsxiv/exec/key-handler b/home/xyz/.config/nsxiv/exec/key-handler
index cfac0301..a24b89b0 100755
--- a/home/xyz/.config/nsxiv/exec/key-handler
+++ b/home/xyz/.config/nsxiv/exec/key-handler
@@ -59,6 +59,7 @@ case "$1" in
"p") tr '\n' '\0' | xargs -0 sh -c 'convert "$@" $(time.uuid).pdf' shell ;;
"r") rotate ;;
"w") tr '\n' '\0' | xargs -0 shufwall ;;
+ # alternative using `xclip -in -selection clipboard`
"y") tr '\n' '\0' | xargs -0 realpath | tr '\n' '\0' | xargs -0 printf '%q ' | xsel -ib ;;
esac