Adding tiled indicators as suggested in #68
This commit is contained in:
		| @@ -65,6 +65,7 @@ static const int showsystray             = 1;   /* 0 means no systray */ | |||||||
| #endif // BAR_SYSTRAY_PATCH | #endif // BAR_SYSTRAY_PATCH | ||||||
| /* Indicators: see patch/bar_indicators.h for options */ | /* Indicators: see patch/bar_indicators.h for options */ | ||||||
| static int tagindicatortype              = INDICATOR_TOP_LEFT_SQUARE; | static int tagindicatortype              = INDICATOR_TOP_LEFT_SQUARE; | ||||||
|  | static int tiledindicatortype            = INDICATOR_NONE; | ||||||
| static int floatindicatortype            = INDICATOR_TOP_LEFT_SQUARE; | static int floatindicatortype            = INDICATOR_TOP_LEFT_SQUARE; | ||||||
| #if FAKEFULLSCREEN_CLIENT_PATCH | #if FAKEFULLSCREEN_CLIENT_PATCH | ||||||
| static int fakefsindicatortype           = INDICATOR_PLUS; | static int fakefsindicatortype           = INDICATOR_PLUS; | ||||||
|   | |||||||
| @@ -105,4 +105,6 @@ drawstateindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, | |||||||
| 	#endif // FAKEFULLSCREEN_CLIENT_PATCH | 	#endif // FAKEFULLSCREEN_CLIENT_PATCH | ||||||
| 	if (c->isfloating) | 	if (c->isfloating) | ||||||
| 		drawindicator(m, c, occ, x, y, w, h, tag, filled, invert, floatindicatortype); | 		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); | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user