summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-03-15 14:17:42 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-03-15 14:17:42 +0000
commitdba22848c7d077c1a988a901c9390dc3c8cc9d64 (patch)
treeb3e91f7a977bbb9debd6120df8058f112cc883b2 /config.def.h
parentsome experimental state DO NOT USE THIS, I plan to have a nicer interface to ... (diff)
downloaddwm-dba22848c7d077c1a988a901c9390dc3c8cc9d64.tar.gz
dwm-dba22848c7d077c1a988a901c9390dc3c8cc9d64.zip
made the string-based setgeom working
Diffstat (limited to '')
-rw-r--r--config.def.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 0866e2e..f6d90d8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -9,7 +9,19 @@
9#define SELBORDERCOLOR "#0066ff" 9#define SELBORDERCOLOR "#0066ff"
10#define SELBGCOLOR "#0066ff" 10#define SELBGCOLOR "#0066ff"
11#define SELFGCOLOR "#ffffff" 11#define SELFGCOLOR "#ffffff"
12#define GEOMETRY "0 0 W B 0 B W H-B 0 B W*0.55 H-B W*0.45 B H-B 0 B W H-B" 12#define GEOMETRY "0 0 W B " \
13 "0 B W H-B " \
14 "0 B W*0.55 H-B " \
15 "W*0.55 B W*0.45 H-B " \
16 "0 B W H-B"
17
18/* Anselm's dual head geometry in the office */
19#define DUALGEOMETRY "0 0 1280 B " \
20 "0 B W H-B " \
21 "0 B 1280 800-B " \
22 "1280 0 W-1280 H " \
23 "0 B 1280 800-B"
24
13 25
14/* tagging */ 26/* tagging */
15const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 27const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@ -38,7 +50,7 @@ Layout layouts[] = {
38#define MODKEY Mod1Mask 50#define MODKEY Mod1Mask
39Key keys[] = { 51Key keys[] = {
40 /* modifier key function argument */ 52 /* modifier key function argument */
41 { MODKEY, XK_a, setgeom, "0 0 W B 0 B W H-B 0 B 1280 800-B 1280 0 W-1280 H 0 B 1280 800-B" }, 53 { MODKEY, XK_a, setgeom, DUALGEOMETRY },
42 { MODKEY, XK_d, setgeom, GEOMETRY }, 54 { MODKEY, XK_d, setgeom, GEOMETRY },
43 { MODKEY, XK_p, spawn, 55 { MODKEY, XK_p, spawn,
44 "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, 56 "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },