diff options
author | Bert Münnich <ber.t@posteo.de> | 2015-05-18 19:09:10 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2015-05-18 19:10:07 +0200 |
commit | 9264a65c192c9678fa4a048fdbb177ebf487c6b9 (patch) | |
tree | 91536cf08f75daad7aa23dfa0856ebdb5e4e4839 | |
parent | 01ed483b50f506fcba928af43e2ca017897e7c77 (diff) |
Clarified comments in key-handler, fixes issue #206
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | exec/key-handler | 6 | ||||
-rw-r--r-- | sxiv.1 | 6 |
3 files changed, 7 insertions, 7 deletions
@@ -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. @@ -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. |