forked from external/yambar
module/alsa: export module info through the new module_info struct type
This commit is contained in:
parent
eaf061ee57
commit
e536391df6
4 changed files with 44 additions and 20 deletions
2
config.c
2
config.c
|
@ -603,7 +603,7 @@ conf_to_bar(const struct yml_node *bar)
|
|||
else if (strcmp(mod_name, "removables") == 0)
|
||||
mods[idx] = module_removables_from_config(m.value, font);
|
||||
else if (strcmp(mod_name, "alsa") == 0)
|
||||
mods[idx] = module_alsa_from_config(m.value, font);
|
||||
mods[idx] = module_alsa.from_conf(m.value, font);
|
||||
else
|
||||
assert(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue