Make sway spawn only one bar per bar config

This commit is contained in:
Mikkel Oscar Lyderik 2016-02-23 14:25:09 +01:00
parent 6d57f03028
commit bad4e22f3b
5 changed files with 31 additions and 54 deletions

View file

@ -1531,7 +1531,7 @@ static struct cmd_results *cmd_reload(int argc, char **argv) {
for (i = 0; i < root_container.children->length; ++i) {
cont = root_container.children->items[i];
if (cont->type == C_OUTPUT) {
load_swaybars(cont, i);
load_swaybars(cont);
}
}