diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-10-10 08:41:55 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-10-10 08:41:55 +0000 |
| commit | b3bc7ec413eae09a92f1228a086475fc36a9bc42 (patch) | |
| tree | d45f4c430f153dbc526ac24ce843c98d8d1aa70a /config.c | |
| parent | Merge branch 'use-pixman-renderer' (diff) | |
| parent | changelog: list scrollback.indicator-color addition (diff) | |
Merge branch 'configurable-indicator-colors'
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1324,6 +1324,18 @@ parse_section_colors(const char *key, const char *value, struct config *conf, return true; } + else if (strcmp(key, "scrollback-indicator") == 0) { + if (!str_to_two_colors( + value, &conf->colors.scrollback_indicator.fg, &conf->colors.scrollback_indicator.bg, + false, conf, path, lineno, "colors", "scrollback-indicator")) + { + return false; + } + + conf->colors.use_custom.scrollback_indicator = true; + return true; + } + else if (strcmp(key, "urls") == 0) { if (!str_to_color(value, &conf->colors.url, false, conf, path, lineno, "colors", "urls")) @@ -2926,6 +2938,7 @@ config_load(struct config *conf, const char *conf_path, .use_custom = { .selection = false, .jump_label = false, + .scrollback_indicator = false, .url = false, }, }, |
