Added clientindicators patch and unified and simplified indicator code. Enabled centeredwindowname option for awesomebar and bartabgroups patches.

This commit is contained in:
bakkeby
2020-08-22 20:30:51 +02:00
parent 32819a48f3
commit 46ebaea58f
2 changed files with 76 additions and 0 deletions

10
patch/bar_indicators.h Normal file
View File

@ -0,0 +1,10 @@
enum {
INDICATOR_TOP_LEFT_SQUARE,
INDICATOR_TOP_LEFT_LARGER_SQUARE,
INDICATOR_TOP_BAR,
INDICATOR_BOTTOM_BAR,
INDICATOR_CLIENT_DOTS,
INDICATOR_RIGHT_TAGS
};
static void drawindicator(Monitor *m, Client *c, unsigned int occ, int x, int w, unsigned int tag, int filled, int invert, int type);