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 static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"; |
4 static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"; |
5 static const char normbordercolor[] = "#cccccc"; |
5 static const char normbordercolor[] = "#444444"; |
6 static const char normbgcolor[] = "#cccccc"; |
6 static const char normbgcolor[] = "#222222"; |
7 static const char normfgcolor[] = "#000000"; |
7 static const char normfgcolor[] = "#bbbbbb"; |
8 static const char selbordercolor[] = "#0066ff"; |
8 static const char selbordercolor[] = "#005577"; |
9 static const char selbgcolor[] = "#0066ff"; |
9 static const char selbgcolor[] = "#005577"; |
10 static const char selfgcolor[] = "#ffffff"; |
10 static const char selfgcolor[] = "#eeeeee"; |
11 static const unsigned int borderpx = 1; /* border pixel of windows */ |
11 static const unsigned int borderpx = 1; /* border pixel of windows */ |
12 static const 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 */ |
13 static const Bool showbar = True; /* False means no bar */ |
14 static const Bool topbar = True; /* False means bottom bar */ |
14 static const Bool topbar = True; /* False means bottom bar */ |
15 |
15 |
22 { "Firefox", NULL, NULL, 1 << 8, False, -1 }, |
22 { "Firefox", NULL, NULL, 1 << 8, False, -1 }, |
23 }; |
23 }; |
24 |
24 |
25 /* layout(s) */ |
25 /* layout(s) */ |
26 static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ |
26 static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ |
|
27 static const int nmaster = 1; /* number of clients in master area */ |
27 static const Bool resizehints = True; /* True means respect size hints in tiled resizals */ |
28 static const Bool resizehints = True; /* True means respect size hints in tiled resizals */ |
28 |
29 |
29 static const Layout layouts[] = { |
30 static const Layout layouts[] = { |
30 /* symbol arrange function */ |
31 /* symbol arrange function */ |
31 { "[]=", tile }, /* first entry is default */ |
32 { "[]=", tile }, /* first entry is default */ |
53 { MODKEY, XK_p, spawn, {.v = dmenucmd } }, |
54 { MODKEY, XK_p, spawn, {.v = dmenucmd } }, |
54 { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, |
55 { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, |
55 { MODKEY, XK_b, togglebar, {0} }, |
56 { MODKEY, XK_b, togglebar, {0} }, |
56 { MODKEY, XK_j, focusstack, {.i = +1 } }, |
57 { MODKEY, XK_j, focusstack, {.i = +1 } }, |
57 { MODKEY, XK_k, focusstack, {.i = -1 } }, |
58 { MODKEY, XK_k, focusstack, {.i = -1 } }, |
|
59 { MODKEY, XK_i, incnmaster, {.i = +1 } }, |
|
60 { MODKEY, XK_d, incnmaster, {.i = -1 } }, |
58 { MODKEY, XK_h, setmfact, {.f = -0.05} }, |
61 { MODKEY, XK_h, setmfact, {.f = -0.05} }, |
59 { MODKEY, XK_l, setmfact, {.f = +0.05} }, |
62 { MODKEY, XK_l, setmfact, {.f = +0.05} }, |
60 { MODKEY, XK_Return, zoom, {0} }, |
63 { MODKEY, XK_Return, zoom, {0} }, |
61 { MODKEY, XK_Tab, view, {0} }, |
64 { MODKEY, XK_Tab, view, {0} }, |
62 { MODKEY|ShiftMask, XK_c, killclient, {0} }, |
65 { MODKEY|ShiftMask, XK_c, killclient, {0} }, |