aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2015-05-18 19:09:10 +0200
committerBert Münnich <ber.t@posteo.de>2015-05-18 19:10:07 +0200
commit9264a65c192c9678fa4a048fdbb177ebf487c6b9 (patch)
tree91536cf08f75daad7aa23dfa0856ebdb5e4e4839
parent01ed483b50f506fcba928af43e2ca017897e7c77 (diff)
Clarified comments in key-handler, fixes issue #206
-rw-r--r--Makefile2
-rw-r--r--exec/key-handler6
-rw-r--r--sxiv.16
3 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 8c47198..003758b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := git-20150206
+VERSION := git-20150518
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man
diff --git a/exec/key-handler b/exec/key-handler
index 4f83b10..03d7499 100644
--- a/exec/key-handler
+++ b/exec/key-handler
@@ -2,9 +2,9 @@
# Example for $XDG_CONFIG_HOME/sxiv/exec/key-handler
# Called by sxiv(1) after the external prefix key (C-x by default) is pressed.
-# The next key combo is passed as its first argument. The paths of all marked
-# images--or of the current image, if no image is marked--are passed via stdin,
-# one file path per line.
+# The next key combo is passed as its first argument. Passed via stdin are the
+# images to act upon, one path per line: all marked images, if in thumbnail
+# mode and at least one image has been marked, otherwise the current image.
# sxiv(1) blocks until this script terminates. It then checks which images
# have been modified and reloads them.
diff --git a/sxiv.1 b/sxiv.1
index 41b03de..4756150 100644
--- a/sxiv.1
+++ b/sxiv.1
@@ -361,9 +361,9 @@ located in
.IR $XDG_CONFIG_HOME/sxiv/exec/key-handler .
The handler is invoked by pressing
.BR Ctrl-x .
-The next key combo is passed as its first argument. The paths of all marked
-images--or of the current image, if no image is marked--are passed via stdin,
-one file path per line.
+The next key combo is passed as its first argument. Passed via stdin are the
+images to act upon, one path per line: all marked images, if in thumbnail mode
+and at least one image has been marked, otherwise the current image.
sxiv(1) will block until the handler terminates. It then checks which images
have been modified and reloads them.