aewl

view config.h @ 782:f1e806b34697

created separated floating space; added per space mode Eventually I realized the plans I had for so long.
author markus schnalke <meillo@marmaro.de>
date Mon, 05 Sep 2011 23:05:08 +0200
parents 1ec698ca43c5
children 5fa2cf6026e8
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-*-*-*-19-*-*-*-*-*-*-*"
13 /*#define FONT "fixed"*/
14 #define NORMBGCOLOR "#333333"
15 #define NORMFGCOLOR "#bbbbbb"
16 #define SELBGCOLOR "#eec900"
17 #define SELFGCOLOR "#000000"
19 #define MODKEY Mod1Mask
20 #define NMASTER 1 /* clients in master area */
21 #define SNAP 5 /* pixel */
23 #define KEYS \
24 static Key key[] = { \
25 /* modifier key function argument */ \
26 { MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \
27 { MODKEY, XK_F1, toggleview, "" }, \
28 { MODKEY, XK_F2, toggleview, "" }, \
29 { MODKEY, XK_F3, floattoggle, "" }, \
30 { MODKEY, XK_Tab, focusnext, "" }, \
31 { MODKEY, XK_asciicircum, spawn, "dmenu_run -fn '"FONT"' "\
32 "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, \
33 { MODKEY, XK_1, zoom, "" }, \
34 { MODKEY, XK_2, killclient, "" }, \
35 { MODKEY|ShiftMask, XK_q, quit, "" }, \
36 { MODKEY|ShiftMask, XK_x, spawn, "exec slock" }, \
37 { MODKEY|ShiftMask, XK_F4, spawn, "sudo /sbin/shutdown -h -t 3 now" }, \
38 { MODKEY, XK_space, togglemode, "" }, \
39 { MODKEY|ShiftMask, XK_space, togglefloat, "" }, \
40 { MODKEY, XK_plus, incnmaster, "" }, \
41 { MODKEY, XK_minus, decnmaster, "" }, \
42 { MODKEY, XK_3, toggletag, "" }, \
43 };
45 /* Query class:instance:title for regex matching info with following command:
46 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
47 #define RULES \
48 static Rule rule[] = { \
49 /* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \
50 { "URxvt", NULL, NULL, 0, False }, \
51 { "MPlayer", NULL, NULL, -1, True }, \
52 { "sxiv", NULL, NULL, -1, False }, \
53 { NULL, NULL, "qiv", -1, False }, \
54 { "Gimp", NULL, NULL, 1, True }, \
55 { "", "", "", 1, False }, \
56 };