nsxiv9264a65
Clarified comments in key-handler, fixes issue #206
+7 −7
3 files changed
- M Makefile +1 −1
- M exec/key-handler +3 −3
- M sxiv.1 +3 −3
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION := git-20150206 | |
| 1 | + | VERSION := git-20150518 | |
| 2 | 2 | ||
| 3 | 3 | PREFIX := /usr/local | |
| 4 | 4 | MANPREFIX := $(PREFIX)/share/man | |
| @@ -2,9 +2,9 @@ | |||
| 2 | 2 | ||
| 3 | 3 | # Example for $XDG_CONFIG_HOME/sxiv/exec/key-handler | |
| 4 | 4 | # Called by sxiv(1) after the external prefix key (C-x by default) is pressed. | |
| 5 | − | # The next key combo is passed as its first argument. The paths of all marked | |
| 6 | − | # images--or of the current image, if no image is marked--are passed via stdin, | |
| 7 | − | # one file path per line. | |
| 5 | + | # The next key combo is passed as its first argument. Passed via stdin are the | |
| 6 | + | # images to act upon, one path per line: all marked images, if in thumbnail | |
| 7 | + | # mode and at least one image has been marked, otherwise the current image. | |
| 8 | 8 | # sxiv(1) blocks until this script terminates. It then checks which images | |
| 9 | 9 | # have been modified and reloads them. | |
| 10 | 10 | ||
| @@ -361,9 +361,9 @@ located in | |||
| 361 | 361 | .IR $XDG_CONFIG_HOME/sxiv/exec/key-handler . | |
| 362 | 362 | The handler is invoked by pressing | |
| 363 | 363 | .BR Ctrl-x . | |
| 364 | − | The next key combo is passed as its first argument. The paths of all marked | |
| 365 | − | images--or of the current image, if no image is marked--are passed via stdin, | |
| 366 | − | one file path per line. | |
| 364 | + | The next key combo is passed as its first argument. Passed via stdin are the | |
| 365 | + | images to act upon, one path per line: all marked images, if in thumbnail mode | |
| 366 | + | and at least one image has been marked, otherwise the current image. | |
| 367 | 367 | sxiv(1) will block until the handler terminates. It then checks which images | |
| 368 | 368 | have been modified and reloads them. | |
| 369 | 369 | ||