From 216ad81b59a7b3a9a4d1f83a26fa2a23ff17a0e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Thu, 27 Nov 2014 22:37:20 +0100 Subject: Pass file paths to key handler via stdin; fixes issue #187 --- sxiv.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sxiv.1') diff --git a/sxiv.1 b/sxiv.1 index 70c9007..e4eb11e 100644 --- a/sxiv.1 +++ b/sxiv.1 @@ -358,8 +358,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 then passed as its first argument, followed by the paths -of all marked images or the path of the current image, if no image is marked. +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. sxiv(1) will block until the handler terminates. It then checks which images have been modified and reloads them. -- cgit v1.2.3