diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-30 16:53:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-30 16:53:51 +0000 |
| commit | 7767041c2cb4f7739881cb8433a8ce7f9ef6d08c (patch) | |
| tree | 13f811fc65504a974491068e5a60c48247cedccd /config.h | |
| parent | changelog: use <section>.<option> syntax (diff) | |
config: tokenize key bindings' pipe command when loading the configuration
This allows us to detect syntax errors early on, and is also more
efficient since we don't have to re-tokenize the command line every
time the binding is executed.
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -17,7 +17,10 @@ struct config_font { struct config_key_binding_normal { enum bind_action_normal action; char *key; - char *pipe_cmd; + struct { + char *cmd; + char **argv; + } pipe; }; struct config_key_binding_search { |
