Experimenting with having more status indicators than just whether the client is floating or not

This commit is contained in:
bakkeby
2020-09-16 11:07:23 +02:00
parent b8dc848918
commit 7275ca47ff
9 changed files with 46 additions and 15 deletions

View File

@@ -45,8 +45,7 @@ draw_awesomebar(Bar *bar, BarArg *a)
drw_setscheme(drw, scheme[scm]);
drw_text(drw, x, a->y, tabw + (i < remainder ? 1 : 0), a->h, pad, c->name, 0, False);
if (c->isfloating)
drawindicator(c->mon, c, 1, x, a->y, w, a->h, 0, 0, c->isfixed, floatindicatortype);
drawstateindicator(c->mon, c, 1, x, a->y, w, a->h, 0, 0, c->isfixed);
x += tabw + (i < remainder ? 1 : 0);
}
}