From 34abf665e266a3285caf2a5c9b65bc93d88b3af7 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 14 Nov 2020 11:21:51 +0100 Subject: config: add default.bold-text-in-bright option --- config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.c') diff --git a/config.c b/config.c index b7909f9e..3e47179b 100644 --- a/config.c +++ b/config.c @@ -519,6 +519,9 @@ parse_section_main(const char *key, const char *value, struct config *conf, conf->pad_y = y; } + else if (strcmp(key, "bold-text-in-bright") == 0) + conf->bold_in_bright = str_to_bool(value); + else if (strcmp(key, "bell") == 0) { if (strcmp(value, "set-urgency") == 0) conf->bell_is_urgent = true; @@ -2017,6 +2020,7 @@ config_load(struct config *conf, const char *conf_path, }, .pad_x = 2, .pad_y = 2, + .bold_in_bright = false, .bell_is_urgent = false, .startup_mode = STARTUP_WINDOWED, .fonts = {tll_init(), tll_init(), tll_init(), tll_init()}, -- cgit v1.3