mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
config: make border.width and border.color optional
This commit is contained in:
parent
50d6afab6a
commit
9c611a716b
1 changed files with 2 additions and 2 deletions
|
@ -329,8 +329,8 @@ static bool
|
||||||
verify_bar_border(keychain_t *chain, const struct yml_node *node)
|
verify_bar_border(keychain_t *chain, const struct yml_node *node)
|
||||||
{
|
{
|
||||||
static const struct attr_info attrs[] = {
|
static const struct attr_info attrs[] = {
|
||||||
{"width", true, &conf_verify_int},
|
{"width", false, &conf_verify_int},
|
||||||
{"color", true, &conf_verify_color},
|
{"color", false, &conf_verify_color},
|
||||||
{"margin", false, &conf_verify_int},
|
{"margin", false, &conf_verify_int},
|
||||||
{"left-margin", false, &conf_verify_int},
|
{"left-margin", false, &conf_verify_int},
|
||||||
{"right-margin", false, &conf_verify_int},
|
{"right-margin", false, &conf_verify_int},
|
||||||
|
|
Loading…
Add table
Reference in a new issue