diff options
| author | bakkeby <[email protected]> | 2020-11-05 12:16:38 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-11-05 12:16:38 +0100 |
| commit | 251e3a23de3f2826baad6f1187b4f48351742b0b (patch) | |
| tree | e65a21957c238f4079ff7bcf0db87f4c8073bab6 | |
| parent | f662f6e749cc853afd124393b2d28919b5f355b5 (diff) | |
| download | dwm-flexipatch-251e3a23de3f2826baad6f1187b4f48351742b0b.tar.gz dwm-flexipatch-251e3a23de3f2826baad6f1187b4f48351742b0b.zip | |
Adding tiled indicators as suggested in #68
| -rw-r--r-- | config.def.h | 1 | ||||
| -rw-r--r-- | patch/bar_indicators.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 2b7194c..aeb1c8e 100644 --- a/config.def.h +++ b/config.def.h @@ -65,6 +65,7 @@ static const int showsystray = 1; /* 0 means no systray */ #endif // BAR_SYSTRAY_PATCH /* Indicators: see patch/bar_indicators.h for options */ static int tagindicatortype = INDICATOR_TOP_LEFT_SQUARE; +static int tiledindicatortype = INDICATOR_NONE; static int floatindicatortype = INDICATOR_TOP_LEFT_SQUARE; #if FAKEFULLSCREEN_CLIENT_PATCH static int fakefsindicatortype = INDICATOR_PLUS; diff --git a/patch/bar_indicators.c b/patch/bar_indicators.c index 7f22a45..644e072 100644 --- a/patch/bar_indicators.c +++ b/patch/bar_indicators.c @@ -105,4 +105,6 @@ drawstateindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, #endif // FAKEFULLSCREEN_CLIENT_PATCH if (c->isfloating) drawindicator(m, c, occ, x, y, w, h, tag, filled, invert, floatindicatortype); + else + drawindicator(m, c, occ, x, y, w, h, tag, filled, invert, tiledindicatortype); }
\ No newline at end of file |
