From 5acfb55a9c9ffc614f5e88cecc01f386fabea8eb Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sun, 30 Aug 2020 11:22:07 +0200 Subject: [PATCH] Silly addendum: adding box indicator just to inspire some ideas --- patch/bar_indicators.c | 3 +++ patch/bar_indicators.h | 1 + 2 files changed, 4 insertions(+) diff --git a/patch/bar_indicators.c b/patch/bar_indicators.c index bf89f62..11876c6 100644 --- a/patch/bar_indicators.c +++ b/patch/bar_indicators.c @@ -47,6 +47,9 @@ drawindicator(Monitor *m, Client *c, unsigned int occ, int x, int w, unsigned in case INDICATOR_BOX_WIDER: drw_rect(drw, x + boxw/2, 0, w - boxw, bh, 0, invert); break; + case INDICATOR_BOX_FULL: + drw_rect(drw, x, 0, w - 2, bh, 0, invert); + break; case INDICATOR_CLIENT_DOTS: for (c = m->clients; c; c = c->next) { if (c->tags & (1 << tag)) { diff --git a/patch/bar_indicators.h b/patch/bar_indicators.h index 848fc76..505d49e 100644 --- a/patch/bar_indicators.h +++ b/patch/bar_indicators.h @@ -8,6 +8,7 @@ enum { INDICATOR_BOTTOM_BAR_SLIM, INDICATOR_BOX, INDICATOR_BOX_WIDER, + INDICATOR_BOX_FULL, INDICATOR_CLIENT_DOTS, INDICATOR_RIGHT_TAGS };