config: add default.bold-text-in-bright option

This commit is contained in:
Daniel Eklöf 2020-11-14 11:21:51 +01:00
parent c764a45ee0
commit 34abf665e2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 6 additions and 0 deletions

View file

@ -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()},