aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.c b/config.c
index a4520ea0..2c375691 100644
--- a/config.c
+++ b/config.c
@@ -93,6 +93,11 @@ parse_section_main(char *line, struct config *conf, const char *path, unsigned l
conf->font = strdup(value);
}
+ else if (strcmp(key, "shell") == 0) {
+ free(conf->shell);
+ conf->shell = strdup(value);
+ }
+
else {
LOG_ERR("%s:%u: invalid key: %s", path, lineno, key);
return false;