6 #define TAGS \ |
6 #define TAGS \ |
7 const char *tags[] = { "1", "2", "3", "4", "5", NULL }; |
7 const char *tags[] = { "1", "2", "3", "4", "5", NULL }; |
8 |
8 |
9 #define DEFMODE dotile /* dofloat */ |
9 #define DEFMODE dotile /* dofloat */ |
10 #define FLOATSYMBOL "><>" |
10 #define FLOATSYMBOL "><>" |
11 #define STACKPOS StackRight /* StackLeft */ |
11 #define TILESYMBOL "[]=" |
12 #define BSTACKSYMBOL "===" |
|
13 #define VSTACKSYMBOL "[]=" |
|
14 |
12 |
15 #define FONT "fixed" |
13 #define FONT "fixed" |
16 #define NORMBGCOLOR "#333366" |
14 #define NORMBGCOLOR "#333366" |
17 #define NORMFGCOLOR "#cccccc" |
15 #define NORMFGCOLOR "#cccccc" |
18 #define SELBGCOLOR "#666699" |
16 #define SELBGCOLOR "#666699" |
19 #define SELFGCOLOR "#eeeeee" |
17 #define SELFGCOLOR "#eeeeee" |
20 #define STATUSBGCOLOR "#dddddd" |
18 #define STATUSBGCOLOR "#dddddd" |
21 #define STATUSFGCOLOR "#222222" |
19 #define STATUSFGCOLOR "#222222" |
22 |
20 |
23 #define MASTER 600 /* per mill */ |
21 #define MASTER 600 /* per thousand */ |
24 #define MODKEY Mod1Mask |
22 #define MODKEY Mod1Mask |
25 |
23 |
26 #define KEYS \ |
24 #define KEYS \ |
27 static Key key[] = { \ |
25 static Key key[] = { \ |
28 /* modifier key function arguments */ \ |
26 /* modifier key function arguments */ \ |
29 { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec xterm" } }, \ |
27 { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec xterm" } }, \ |
30 { MODKEY, XK_Tab, focusnext, { 0 } }, \ |
28 { MODKEY, XK_Tab, focusnext, { 0 } }, \ |
31 { MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \ |
29 { MODKEY|ShiftMask, XK_Tab, focusprev, { 0 } }, \ |
32 { MODKEY, XK_Return, zoom, { 0 } }, \ |
30 { MODKEY, XK_Return, zoom, { 0 } }, \ |
33 { MODKEY, XK_b, togglestackpos, { 0 } }, \ |
31 { MODKEY, XK_g, resizecol, { .i = 15 } }, \ |
34 { MODKEY, XK_g, resizecol, { .i = 10 } }, \ |
32 { MODKEY, XK_s, resizecol, { .i = -15 } }, \ |
35 { MODKEY, XK_s, resizecol, { .i = -10 } }, \ |
|
36 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ |
33 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ |
37 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ |
34 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ |
38 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \ |
35 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \ |
39 { MODKEY|ShiftMask, XK_4, tag, { .i = 3 } }, \ |
36 { MODKEY|ShiftMask, XK_4, tag, { .i = 3 } }, \ |
40 { MODKEY|ShiftMask, XK_5, tag, { .i = 4 } }, \ |
37 { MODKEY|ShiftMask, XK_5, tag, { .i = 4 } }, \ |