6 #define TAGS \ |
6 #define TAGS \ |
7 const char *tags[] = { "dev", "work", "net", "fnord", NULL }; |
7 const char *tags[] = { "dev", "work", "net", "fnord", 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 "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" |
13 #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" |
16 #define NORMBGCOLOR "#333333" |
14 #define NORMBGCOLOR "#333333" |
17 #define NORMFGCOLOR "#dddddd" |
15 #define NORMFGCOLOR "#dddddd" |
18 #define SELBGCOLOR "#333366" |
16 #define SELBGCOLOR "#333366" |
19 #define SELFGCOLOR "#eeeeee" |
17 #define SELFGCOLOR "#eeeeee" |
20 #define STATUSBGCOLOR "#222222" |
18 #define STATUSBGCOLOR "#222222" |
21 #define STATUSFGCOLOR "#9999cc" |
19 #define STATUSFGCOLOR "#9999cc" |
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 */ \ |
34 "| sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \ |
32 "| sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \ |
35 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \ |
33 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \ |
36 { MODKEY, XK_j, focusnext, { 0 } }, \ |
34 { MODKEY, XK_j, focusnext, { 0 } }, \ |
37 { MODKEY, XK_k, focusprev, { 0 } }, \ |
35 { MODKEY, XK_k, focusprev, { 0 } }, \ |
38 { MODKEY, XK_Return, zoom, { 0 } }, \ |
36 { MODKEY, XK_Return, zoom, { 0 } }, \ |
39 { MODKEY, XK_b, togglestackpos, { 0 } }, \ |
37 { MODKEY, XK_g, resizecol, { .i = 15 } }, \ |
40 { MODKEY, XK_g, resizecol, { .i = 10 } }, \ |
38 { MODKEY, XK_s, resizecol, { .i = -15 } }, \ |
41 { MODKEY, XK_s, resizecol, { .i = -10 } }, \ |
|
42 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ |
39 { MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \ |
43 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ |
40 { MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \ |
44 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \ |
41 { MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \ |
45 { MODKEY|ShiftMask, XK_4, tag, { .i = 3 } }, \ |
42 { MODKEY|ShiftMask, XK_4, tag, { .i = 3 } }, \ |
46 { MODKEY|ControlMask|ShiftMask, XK_1, toggletag, { .i = 0 } }, \ |
43 { MODKEY|ControlMask|ShiftMask, XK_1, toggletag, { .i = 0 } }, \ |