aewl

view config.h @ 765:f1d4bc4afcd9

why is config.h not versioned ... it should be. Now it is
author meillo@marmaro.de
date Fri, 05 Dec 2008 19:13:24 +0100
parents
children 3f7c68a720b5
line source
1 /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
2 * (C)opyright MMVIII markus schnalke <meillo at marmaro dot de>
3 * See LICENSE file for license details.
4 */
6 #define NAMESEL "Das Alles"
7 #define NAMENSEL "Das Nichts"
9 #define BORDERPX 1
10 #define DEFMODE domax /* dotile */
12 #define FONT "-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*"
13 #define NORMBGCOLOR "#333333"
14 #define NORMFGCOLOR "#bbbbbb"
15 #define SELBGCOLOR "#eec900"
16 #define SELFGCOLOR "#000000"
18 #define MODKEY Mod1Mask
19 #define NMASTER 1 /* clients in master area */
20 #define SNAP 5 /* pixel */
22 #define KEYS \
23 static Key key[] = { \
24 /* modifier key function argument */ \
25 { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \
26 { MODKEY, XK_F1, toggleview, "" }, \
27 { MODKEY, XK_F2, toggleview, "" }, \
28 { MODKEY, XK_Tab, focusnext, "" }, \
29 { MODKEY, XK_asciicircum, spawn, "dmenu_run -fn '"FONT"' "\
30 "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, \
31 { MODKEY, XK_1, zoom, "" }, \
32 { MODKEY, XK_2, killclient, "" }, \
33 { MODKEY|ShiftMask, XK_q, quit, "" }, \
34 { MODKEY|ShiftMask, XK_F4, spawn, "sudo /sbin/shutdown -h -t 3 now" }, \
35 { MODKEY, XK_space, togglemode, "" }, \
36 { MODKEY|ShiftMask, XK_space, togglefloat, "" }, \
37 { MODKEY, XK_plus, incnmaster, "" }, \
38 { MODKEY, XK_minus, decnmaster, "" }, \
39 { MODKEY, XK_F3, togglegroup, "" }, \
40 };
42 /* Query class:instance:title for regex matching info with following command:
43 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
44 #define RULES \
45 static Rule rule[] = { \
46 /* class:instance:title regex, group (0=first/1=second/-1=curr), isfloat */ \
47 { "URxvt.*", 1, False }, \
48 { "MPlayer.*", -1, True }, \
49 { "qiv.*", -1, False }, \
50 { "Gimp.*", 0, True }, \
51 { ".*", 0, False }, \
52 };