sxiv

simple X image viewer
git clone git://git.suckless.org/sxiv
Log | Files | Refs | LICENSE

commit 9264a65c192c9678fa4a048fdbb177ebf487c6b9
parent 01ed483b50f506fcba928af43e2ca017897e7c77
Author: Bert M√ľnnich <ber.t@posteo.de>
Date:   Mon, 18 May 2015 19:09:10 +0200

Clarified comments in key-handler, fixes issue #206

Diffstat:
Makefile | 2+-
exec/key-handler | 6+++---
sxiv.1 | 6+++---
3 files changed, 7 insertions(+), 7 deletions(-)

diff --git 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 @@ -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 @@ -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.