diff options
author | NRK <nrk@disroot.org> | 2021-11-19 11:08:39 +0100 |
---|---|---|
committer | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-11-19 12:02:50 +0100 |
commit | 43fcd2e02e113a55f673f266ad28b53858500022 (patch) | |
tree | b831fa86b7d97a975865bc77465c47496ab614a4 /nsxiv.1 | |
parent | 2df33208d76159ffacffce3c8a8edc3a5ad7ea7b (diff) | |
download | nsxiv-43fcd2e02e113a55f673f266ad28b53858500022.tar.zst |
set env var NSXIV_USING_NULL for key-handler and update docs
Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
Diffstat (limited to 'nsxiv.1')
-rw-r--r-- | nsxiv.1 | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -439,14 +439,20 @@ located in The handler is invoked by pressing .BR Ctrl-x . 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. -nsxiv(1) will block until the handler terminates. It then checks which images -have been modified and reloads them. +images to act upon: all marked images, if in thumbnail mode and at least one +image has been marked, otherwise the current image. nsxiv(1) will block until +the handler terminates. It then checks which images have been modified and +reloads them. + +By default nsxiv(1) will send one image per-line to stdin, however when using +\-0 the image list will be NULL separated and the enviornment variable +"$NSXIV_USING_NULL" will be set to 1. The key combo argument has the following form: "[C-][M-][S-]KEY", where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix. +If KEY has an uppercase equivalent, S-KEY is resolved into it. For instance, +K replaces S-k and Scedilla replaces S-scedilla, but S-Delete is sent as-is. There is also an example script installed together with nsxiv as .IR EGPREFIX/key-handler . |