summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-30 11:22:07 +0200
committerbakkeby <[email protected]>2020-08-30 11:22:07 +0200
commit5acfb55a9c9ffc614f5e88cecc01f386fabea8eb (patch)
treee2a7e67456115c7050e7c69a596c0594ae35a193 /patch
parentb3f078abfb669f85e99e6170b8826298a292cf23 (diff)
downloaddwm-flexipatch-5acfb55a9c9ffc614f5e88cecc01f386fabea8eb.tar.gz
dwm-flexipatch-5acfb55a9c9ffc614f5e88cecc01f386fabea8eb.zip
Silly addendum: adding box indicator just to inspire some ideas
Diffstat (limited to 'patch')
-rw-r--r--patch/bar_indicators.c3
-rw-r--r--patch/bar_indicators.h1
2 files changed, 4 insertions, 0 deletions
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
};