diff options
author | András Mohari <andras.mohari@gmail.com> | 2014-01-31 14:17:52 +0100 |
---|---|---|
committer | András Mohari <andras.mohari@gmail.com> | 2014-01-31 14:17:52 +0100 |
commit | 54d7b7f20fc80460fb6160badb6d90e6505a4194 (patch) | |
tree | 0b0aab780889e9e26296f2231469f19bccfbf3aa /exec | |
parent | d5b2d377a44db7408c90e5e15e35458bcc0f340c (diff) |
Use a prefix key to execute the key handler
The default prefix key is C-x, and can be changed in config.def.h. The
first key pressed after the prefix key will be passed the external key
handler, unless the key is Escape, which is used to cancel the prefix.
Diffstat (limited to 'exec')
-rw-r--r-- | exec/key-handler | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exec/key-handler b/exec/key-handler index f4de310..db1fe2f 100644 --- a/exec/key-handler +++ b/exec/key-handler @@ -1,9 +1,9 @@ #!/bin/sh # Example for $XDG_CONFIG_HOME/sxiv/exec/key-handler -# Called by sxiv(1) whenever an unbound key combo is used, -# with the key combo as its first argument and the path of the current image -# as its second argument. +# Called by sxiv(1) when you press the prefix key (C-x by default) followed by +# a key combo. The key combo is passed as its first argument and the path of +# the current image as its second argument. # sxiv(1) blocks until this script terminates. It then checks if the image # has been modified and reloads it. |