bar: add margin properties to the border

This commit is contained in:
Daniel Eklöf 2019-02-17 15:45:02 +01:00
parent 12ef2569a4
commit 50d6afab6a
5 changed files with 33 additions and 0 deletions

View file

@ -331,6 +331,11 @@ verify_bar_border(keychain_t *chain, const struct yml_node *node)
static const struct attr_info attrs[] = {
{"width", true, &conf_verify_int},
{"color", true, &conf_verify_color},
{"margin", false, &conf_verify_int},
{"left-margin", false, &conf_verify_int},
{"right-margin", false, &conf_verify_int},
{"top-margin", false, &conf_verify_int},
{"bottom-margin", false, &conf_verify_int},
{NULL, false, NULL},
};