aewl

view config.h @ 769:49aa8ccceefa

cleanups in domax and more
author meillo@marmaro.de
date Fri, 05 Dec 2008 21:42:47 +0100
parents 706991d15451
children 6f7f86762e0e
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 NAMETAGGED "Das Alles"
7 #define NAMEUNTAGGED "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, toggletag, "" }, \
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, tag (1=tag/0=untag/-1=curr), isfloat */ \
47 { "URxvt", NULL, NULL, 0, False }, \
48 { "MPlayer", NULL, NULL, -1, True }, \
49 { NULL, "qiv", NULL, -1, False }, \
50 { "Gimp", NULL, NULL, 1, True }, \
51 { "", "", "", 1, False }, \
52 };