forked from external/yambar
config: fix: attributes always use dash, not underscore
This commit is contained in:
parent
650e152091
commit
731ab848e1
4 changed files with 14 additions and 14 deletions
|
@ -350,7 +350,7 @@ from_conf(const struct yml_node *node, const struct font *parent_font)
|
|||
{
|
||||
const struct yml_node *c = yml_get_value(node, "content");
|
||||
const struct yml_node *name = yml_get_value(node, "name");
|
||||
const struct yml_node *poll_interval = yml_get_value(node, "poll_interval");
|
||||
const struct yml_node *poll_interval = yml_get_value(node, "poll-interval");
|
||||
|
||||
return battery_new(
|
||||
yml_value_as_string(name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue