diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-05-28 17:27:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-06-13 09:55:23 +0000 |
| commit | 755f96321ab47f931d11680027d47d1d772f5584 (patch) | |
| tree | bf35e0c7ca5b15640513b2ad3f470c29a6127267 /config.h | |
| parent | commands: scroll up: simplify viewport clamping logic (diff) | |
config: add a new ‘environment’ section
This section allows the user to define custom environment variables to
be set in the child process:
[environment]
name=value
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -104,6 +104,12 @@ struct config_spawn_template { struct argv argv; }; +struct env_var { + char *name; + char *value; +}; +typedef tll(struct env_var) env_var_list_t; + struct config { char *term; char *shell; @@ -296,6 +302,8 @@ struct config { struct config_spawn_template notify; bool notify_focus_inhibit; + env_var_list_t env_vars; + struct { enum fcft_scaling_filter fcft_filter; bool overflowing_glyphs; |
