Commit Graph

14 Commits

Author SHA1 Message Date
Bert Münnich 5c607ad495 Pass given file names to key-handler instead of real paths
Misbehaving command lines in the key-handler that rewrite the given files and
thus replace symbolic links instead of their targets shall call realpath(1).

Fixes issue #205 and reverts commit 92e3b578.
2017-01-07 14:44:33 +01:00
Bert Münnich 9264a65c19 Clarified comments in key-handler, fixes issue #206 2015-05-18 19:10:07 +02:00
Bert Münnich 216ad81b59 Pass file paths to key handler via stdin; fixes issue #187 2014-11-27 22:37:20 +01:00
Bert Münnich 75a665670a Refactored rotation in key-handler 2014-08-20 11:39:56 +02:00
Bert Münnich eaf55e9af9 Added actions for tag addition & removal to key-handler 2014-08-20 11:34:05 +02:00
Bert Münnich 3a680172c8 Unified rotate actions in key-handler; use lossless operation based on file type 2014-08-18 20:21:42 +02:00
Bert Münnich e267dc7793 Pass marked files to external key handler in thumbnail mode; fixes issue #135 2014-08-16 21:49:46 +02:00
Bert Münnich f6510b0a04 Merged pull request #129 2014-01-31 13:21:23 +01:00
András Mohari 54d7b7f20f 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.
2014-01-31 14:17:52 +01:00
Bert Münnich 304fd382db Adhere to XDG Base Directory Specification; fixes issue #124 2014-01-11 22:47:41 +01:00
Bert Münnich 9a0bcd7025 Added doc header to exec/key-handler 2014-01-05 22:07:21 +01:00
Bert Münnich d75a5a027c Show metadata of image on Ctrl-e in exec/key-handler 2014-01-05 18:12:49 +01:00
Bert Münnich 58b4a1e504 Copy image path to primary on Ctrl-c in exec/key-handler 2014-01-05 18:08:40 +01:00
Bert Münnich f2e0c492bd Moved external shell commands into exec/key-handler script
Gets called on all unset key mappings. Arguments are: key combo and
current file. Thanks to Francesco Orsenigo (xarvh) for the idea.
2014-01-02 23:19:31 +01:00