Commit Graph

22 Commits

Author SHA1 Message Date
Patryk Czachurski f7714eaf90 Set executable bit on scripts in exec folder 2018-08-04 20:20:44 +02:00
Bert Münnich 8a9e3ea43e Separate bar fields only by spaces 2017-12-07 21:44:59 +01:00
Bert Münnich c2560f8d0b Add key-handler action to copy image to clipboard
Thanks ploth for coming up with this:
	https://github.com/muennich/sxiv/issues/247#issuecomment-321316306

Replaces optional dependency on xsel(1) to xclip(1) as it supports this.

Fixes issue #247
2017-09-02 22:19:00 +02:00
Bert Münnich ba4b84a8b1 Fix missing quote in key-handler from commit 5c607ad 2017-02-13 11:20:58 +01:00
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 891f389f0e Silence error messages in image-info script 2016-10-17 20:29:11 +02:00
Bert Münnich aabc2bddbd Provide image width and height to image-info script; fixes issue #159 2016-08-06 12:22:47 +02:00
Sudo Nice b32aefce3a Make image-info script more steady to special symbols in file names 2015-12-25 11:23:41 +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 0e818020cc Simplified EXIF tag extraction in exec/image-info 2014-01-03 16:24:07 +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