Silly addendum: adding box indicator just to inspire some ideas

This commit is contained in:
bakkeby 2020-08-30 11:22:07 +02:00
parent b3f078abfb
commit 5acfb55a9c
2 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,9 @@ drawindicator(Monitor *m, Client *c, unsigned int occ, int x, int w, unsigned in
case INDICATOR_BOX_WIDER: case INDICATOR_BOX_WIDER:
drw_rect(drw, x + boxw/2, 0, w - boxw, bh, 0, invert); drw_rect(drw, x + boxw/2, 0, w - boxw, bh, 0, invert);
break; break;
case INDICATOR_BOX_FULL:
drw_rect(drw, x, 0, w - 2, bh, 0, invert);
break;
case INDICATOR_CLIENT_DOTS: case INDICATOR_CLIENT_DOTS:
for (c = m->clients; c; c = c->next) { for (c = m->clients; c; c = c->next) {
if (c->tags & (1 << tag)) { if (c->tags & (1 << tag)) {

View File

@ -8,6 +8,7 @@ enum {
INDICATOR_BOTTOM_BAR_SLIM, INDICATOR_BOTTOM_BAR_SLIM,
INDICATOR_BOX, INDICATOR_BOX,
INDICATOR_BOX_WIDER, INDICATOR_BOX_WIDER,
INDICATOR_BOX_FULL,
INDICATOR_CLIENT_DOTS, INDICATOR_CLIENT_DOTS,
INDICATOR_RIGHT_TAGS INDICATOR_RIGHT_TAGS
}; };