summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-08-10 04:29:42 -0700
committerxyz <gky44px1999@gmail.com>2021-08-10 04:29:42 -0700
commit07737555823d1b8fe3df0f2b03e973ab647dac44 (patch)
tree00a35b5898443f5120f126f2e65880ef4af398d1 /.config
parentb1dd98e5009ecb4902bf160251094b42897ab1e3 (diff)
sxiv compare pictures hotkey
Diffstat (limited to '.config')
-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 e9b43afd..28817342 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -37,6 +37,7 @@ flip() {
}
case "$1" in
+ "c") tr '\n' '\0' | xargs -0 setsid -f sxiv ;;
"d") [ "$(promptd "delete?")" = "Yes" ] && tr '\n' '\0' | xargs -0 rm ;;
"e") while read file; do alacritty -e sh -c "exiv2 pr -q -pa '$file' | less" & done ;;
"f") flip ;;