From 9264a65c192c9678fa4a048fdbb177ebf487c6b9 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Mon, 18 May 2015 19:09:10 +0200 Subject: Clarified comments in key-handler, fixes issue #206 --- Makefile | 2 +- exec/key-handler | 6 +++--- sxiv.1 | 6 +++--- 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. -- cgit v1.2.3-54-g00ecf