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 BARPOS BarTop /* BarBot, BarOff */ |
4 #define BARPOS BarTop /* BarBot, BarOff */ |
5 #define BORDERPX 1 |
5 #define BORDERPX 1 |
6 #define FONT "-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*" |
6 #define FONT "-*-proggyclean-*-*-*-*-*-*-*-*-*-*-*-*" |
7 #define NORMBORDERCOLOR "#cccccc" |
7 #define NORMBORDERCOLOR "#cccccc" |
8 #define NORMBGCOLOR "#eeeeee" |
8 #define NORMBGCOLOR "#ffffff" |
9 #define NORMFGCOLOR "#444444" |
9 #define NORMFGCOLOR "#333333" |
10 #define SELBORDERCOLOR "#0066ff" |
10 #define SELBORDERCOLOR "#3366ff" |
11 #define SELBGCOLOR "#0066ff" |
11 #define SELBGCOLOR "#3366ff" |
12 #define SELFGCOLOR "#ffffff" |
12 #define SELFGCOLOR "#ffffff" |
13 |
13 |
14 /* tagging */ |
14 /* tagging */ |
15 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www", NULL }; |
15 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www", NULL }; |
16 Rule rules[] = { |
16 Rule rules[] = { |
38 Key keys[] = { \ |
38 Key keys[] = { \ |
39 /* modifier key function argument */ \ |
39 /* modifier key function argument */ \ |
40 { MODKEY, XK_p, spawn, \ |
40 { MODKEY, XK_p, spawn, \ |
41 "exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \ |
41 "exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \ |
42 " -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \ |
42 " -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \ |
43 { MODKEY|ShiftMask, XK_Return, spawn, \ |
43 { MODKEY|ShiftMask, XK_Return, spawn, "exec xterm" }, \ |
44 "exec xterm -bg '"NORMBGCOLOR"' -fg '"NORMFGCOLOR"' -cr '"NORMFGCOLOR"' +sb -fn '"FONT"'" }, \ |
|
45 { MODKEY, XK_space, setlayout, NULL }, \ |
44 { MODKEY, XK_space, setlayout, NULL }, \ |
46 { MODKEY, XK_b, togglebar, NULL }, \ |
45 { MODKEY, XK_b, togglebar, NULL }, \ |
47 { MODKEY, XK_j, focusnext, NULL }, \ |
46 { MODKEY, XK_j, focusnext, NULL }, \ |
48 { MODKEY, XK_k, focusprev, NULL }, \ |
47 { MODKEY, XK_k, focusprev, NULL }, \ |
49 { MODKEY, XK_h, setmwfact, "-0.05" }, \ |
48 { MODKEY, XK_h, setmwfact, "-0.05" }, \ |