config: allow font/foreground attributes on modules too

Previously we allowed it on the bar, and on all particles. Now we also
allow it on all modules.

This allows us to specify a "default" font/foreground on a per-module
basis, having it applied to all the modules particles.
This commit is contained in:
Daniel Eklöf 2019-01-13 14:24:44 +01:00
parent 8dc278aaf2
commit a425378576
13 changed files with 47 additions and 14 deletions

View file

@ -115,7 +115,7 @@ verify_conf(keychain_t *chain, const struct yml_node *node)
{"time-format", false, &conf_verify_string},
{"content", true, &conf_verify_particle},
{"anchors", false, NULL},
{NULL, false, NULL}
MODULE_COMMON_ATTRS,
};
return conf_verify_dict(chain, node, attrs);