From cda9c85bd3ee0f894a2fb193b984a22543f01124 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 14 Nov 2021 18:38:15 -0800 Subject: alternative comment --- home/xyz/.config/nsxiv/exec/key-handler | 1 + 1 file changed, 1 insertion(+) (limited to 'home/xyz/.config/nsxiv') 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 -- cgit v1.2.3-70-g09d2