summaryrefslogtreecommitdiff
path: root/.config/sxiv/exec
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-16 00:27:14 -0700
committerxyz <gky44px1999@gmail.com>2021-09-16 00:27:14 -0700
commitaf2c9aaddbcb5e79608b4718ce99f365ac5c48ba (patch)
tree81c0d721d6f63a15ed70ea6cf734963a77a0e6b6 /.config/sxiv/exec
parent82e4b9f634dc85c57864599eb70b330d2d32b974 (diff)
sxiv, p, convert multiple images to one pdf
Diffstat (limited to '.config/sxiv/exec')
-rwxr-xr-x.config/sxiv/exec/key-handler1
1 files changed, 1 insertions, 0 deletions
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 ;;