-
Notifications
You must be signed in to change notification settings - Fork 23
/
bar_indicators.h
49 lines (46 loc) · 1.28 KB
/
bar_indicators.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Indicator types */
enum {
IndicatorWs = 0, // occupied alias for backwards support, may be removed in the future
IndicatorWsOcc = 0,
IndicatorWsSel,
IndicatorWsVis,
IndicatorWsNorm,
IndicatorPinnedWs,
IndicatorFakeFullScreen,
IndicatorFakeFullScreenActive,
IndicatorFloatFakeFullScreen,
IndicatorFloatFakeFullScreenActive,
IndicatorTiled,
IndicatorFloating,
IndicatorLast,
};
/* Indicator options */
enum {
INDICATOR_NONE,
INDICATOR_TOP_LEFT_SQUARE,
INDICATOR_TOP_LEFT_LARGER_SQUARE,
INDICATOR_TOP_RIGHT_TRIANGLE,
INDICATOR_TOP_RIGHT_PIN,
INDICATOR_TOP_BAR,
INDICATOR_TOP_BAR_SLIM,
INDICATOR_TOP_CENTERED_DOT,
INDICATOR_BOTTOM_BAR,
INDICATOR_BOTTOM_BAR_SLIM,
INDICATOR_BOTTOM_BAR_SLIM_DOTS,
INDICATOR_BOTTOM_CENTERED_DOT,
INDICATOR_BOX,
INDICATOR_BOX_WIDER,
INDICATOR_BOX_FULL,
INDICATOR_CLIENT_DOTS,
INDICATOR_PLUS,
INDICATOR_PLUS_AND_SQUARE,
INDICATOR_PLUS_AND_LARGER_SQUARE,
INDICATOR_CUSTOM_1,
INDICATOR_CUSTOM_2,
INDICATOR_CUSTOM_3,
INDICATOR_CUSTOM_4,
INDICATOR_CUSTOM_5,
INDICATOR_CUSTOM_6,
};
static void drawindicator(Workspace *ws, Client *c, unsigned int occ, int x, int y, int w, int h, int filled, int invert, int type);
static void drawstateindicator(Workspace *ws, Client *c, unsigned int occ, int x, int y, int w, int h, int filled, int invert);