1 /* See LICENSE file for copyright and license details. */ |
1 /* See LICENSE file for copyright and license details. */ |
2 |
2 |
3 /* appearance */ |
3 /* appearance */ |
4 #define SHOWBAR True /* False means no bar */ |
|
5 #define TOPBAR True /* False means bottom bar */ |
|
6 static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*"; |
4 static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*"; |
7 static const char normbordercolor[] = "#cccccc"; |
5 static const char normbordercolor[] = "#cccccc"; |
8 static const char normbgcolor[] = "#cccccc"; |
6 static const char normbgcolor[] = "#cccccc"; |
9 static const char normfgcolor[] = "#000000"; |
7 static const char normfgcolor[] = "#000000"; |
10 static const char selbordercolor[] = "#0066ff"; |
8 static const char selbordercolor[] = "#0066ff"; |
11 static const char selbgcolor[] = "#0066ff"; |
9 static const char selbgcolor[] = "#0066ff"; |
12 static const char selfgcolor[] = "#ffffff"; |
10 static const char selfgcolor[] = "#ffffff"; |
13 static unsigned int borderpx = 1; /* border pixel of windows */ |
11 static const unsigned int borderpx = 1; /* border pixel of windows */ |
14 static unsigned int snap = 32; /* snap pixel */ |
12 static const unsigned int snap = 32; /* snap pixel */ |
|
13 static const Bool showbar = True; /* False means no bar */ |
|
14 static const Bool topbar = True; /* False means bottom bar */ |
15 |
15 |
16 /* monitor(s) symbols */ |
16 /* monitor(s) symbols */ |
17 static const char *monsyms[] = { "<1>", "<2>", "<3>", "<4>", "<5>" }; |
17 static const char *monsyms[] = { "<1>", "<2>", "<3>", "<4>", "<5>" }; |
18 |
18 |
19 /* tagging */ |
19 /* tagging */ |
20 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
20 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
21 |
21 |
22 static Rule rules[] = { |
22 static const Rule rules[] = { |
23 /* class instance title tags mask isfloating */ |
23 /* class instance title tags mask isfloating */ |
24 { "Gimp", NULL, NULL, 0, True }, |
24 { "Gimp", NULL, NULL, 0, True }, |
25 { "Firefox", NULL, NULL, 1 << 8, False }, |
25 { "Firefox", NULL, NULL, 1 << 8, False }, |
26 |
|
27 }; |
26 }; |
28 |
27 |
29 /* layout(s) */ |
28 /* layout(s) */ |
30 static float mfact = 0.55; /* factor of master area size [0.05..0.95] */ |
29 static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ |
31 static Bool resizehints = True; /* False means respect size hints in tiled resizals */ |
30 static const Bool resizehints = True; /* False means respect size hints in tiled resizals */ |
32 |
31 |
33 static Layout layouts[] = { |
32 static const Layout layouts[] = { |
34 /* symbol arrange function */ |
33 /* symbol arrange function */ |
35 { "[]=", tile }, /* first entry is default */ |
34 { "[]=", tile }, /* first entry is default */ |
36 { "><>", NULL }, /* no layout function means floating behavior */ |
35 { "><>", NULL }, /* no layout function means floating behavior */ |
37 { "[M]", monocle }, |
36 { "[M]", monocle }, |
38 }; |
37 }; |