aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2019-09-17 22:40:49 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2019-11-03 10:56:47 -0500
commitd8d7dce2b8efe64b16e6a5acbcc183cf1be92c59 (patch)
tree7e6e9ef0a398ce818e11f72e7a4153d45b6446e0 /src/config.c
parentf49ec4ad6e2035d056583340a13edb46d17ba8d1 (diff)
downloadcalcurse-d8d7dce2b8efe64b16e6a5acbcc183cf1be92c59.tar.gz
calcurse-d8d7dce2b8efe64b16e6a5acbcc183cf1be92c59.zip
Make the text for empty days configurable
The default is "--"; a single space makes the text invisible. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 511ea80..c6914f5 100644
--- a/src/config.c
+++ b/src/config.c
@@ -98,6 +98,7 @@ static const struct confvar confmap[] = {
{"appearance.eventseparator", CONFIG_HANDLER_BOOL(conf.event_separator)},
{"appearance.dayseparator", CONFIG_HANDLER_BOOL(conf.day_separator)},
{"appearance.emptyline", CONFIG_HANDLER_BOOL(conf.empty_appt_line)},
+ {"appearance.emptyday", CONFIG_HANDLER_STR(conf.empty_day)},
{"appearance.notifybar", CONFIG_HANDLER_BOOL(nbar.show)},
{"appearance.sidebarwidth", config_parse_sidebar_width, config_serialize_sidebar_width, NULL},
{"appearance.theme", config_parse_color_theme, config_serialize_color_theme, NULL},