summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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