config: add locked-title=no|yes

Closes #386
This commit is contained in:
Daniel Eklöf 2021-07-04 17:59:40 +02:00
parent 07652d3b9e
commit fcb60abc13
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 22 additions and 0 deletions

View file

@ -643,6 +643,9 @@ parse_section_main(const char *key, const char *value, struct config *conf,
conf->title = xstrdup(value);
}
else if (strcmp(key, "locked-title") == 0)
conf->locked_title = str_to_bool(value);
else if (strcmp(key, "app-id") == 0) {
free(conf->app_id);
conf->app_id = xstrdup(value);