From af2c9aaddbcb5e79608b4718ce99f365ac5c48ba Mon Sep 17 00:00:00 2001 From: xyz Date: Thu, 16 Sep 2021 00:27:14 -0700 Subject: sxiv, p, convert multiple images to one pdf --- .config/sxiv/exec/key-handler | 1 + 1 file changed, 1 insertion(+) (limited to '.config/sxiv/exec') diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index 65c3cbc0..80dd82f0 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -56,6 +56,7 @@ case "$1" in "f") flip ;; "g") tr '\n' '\0' | xargs -0 setsid -f gimp ;; "l") linkwall ;; + "p") tr '\n' '\0' | xargs -0 sh -c 'convert "$@" $(time.uuid).pdf' shell ;; "r") rotate ;; "w") tr '\n' '\0' | xargs -0 shufwall ;; "y") tr '\n' '\0' | xargs -0 realpath | xsel -b ;; -- cgit v1.2.3-70-g09d2