about summary refs log tree commit diff stats
path: root/config.default.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-15 10:30:45 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-15 10:30:45 +0200
commit73e2aba341624fbfb4791d464bf0d0a16c50578c (patch)
tree46f6c778c9cc677989e8f53464ecd6e6943cbb10 /config.default.h
parent9f88fd093cf4f18dfd25b86344e5df73f5f1c2a1 (diff)
downloaddwm-73e2aba341624fbfb4791d464bf0d0a16c50578c.tar.gz
removed config.arg.h, only 1 config.h necessary
Diffstat (limited to 'config.default.h')
-rw-r--r--config.default.h34
1 files changed, 22 insertions, 12 deletions
diff --git a/config.default.h b/config.default.h
index 96efa83..b016174 100644
--- a/config.default.h
+++ b/config.default.h
@@ -3,22 +3,29 @@
 /* appearance */
 #define BARPOS			BarTop /* BarBot, BarOff */
 #define BORDERPX		1
-#define FONT			"-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*"
-#define NORMBORDERCOLOR		"#dddddd"
-#define NORMBGCOLOR		"#eeeeee"
-#define NORMFGCOLOR		"#222222"
-#define SELBORDERCOLOR		"#ff0000"
-#define SELBGCOLOR		"#006699"
-#define SELFGCOLOR		"#ffffff"
+#define FONT			"-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*"
+#define DARK /* LIGHT */
+#ifdef DARK
+#define NORMBORDERCOLOR		"#222"
+#define NORMBGCOLOR		"#000"
+#define NORMFGCOLOR		"#eee"
+#define SELBORDERCOLOR		"#09f"
+#else
+#define NORMBORDERCOLOR		"#666"
+#define NORMBGCOLOR		"#eee"
+#define NORMFGCOLOR		"#222"
+#define SELBORDERCOLOR		"#f00"
+#endif
+#define SELBGCOLOR		"#369"
+#define SELFGCOLOR		"#fff"
 
 /* tagging */
 #define TAGS \
 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
-/* Query class:instance:title for regex matching info with following command:
- * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
 #define RULES \
 static Rule rules[] = { \
 	/* class:instance:title regex	tags regex	isfloating */ \
+	{ "Firefox",			"3",		False }, \
 	{ "Gimp",			NULL,		True }, \
 	{ "MPlayer",			NULL,		True }, \
 	{ "Acroread",			NULL,		True }, \
@@ -32,7 +39,7 @@ static Layout layouts[] = { \
 	{ "[]=",		tile }, /* first entry is default */ \
 	{ "><>",		floating }, \
 };
-#define RESIZEHINTS		False	/* True - respect size hints in tiled resizals */
+#define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
 #define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
 #define SNAP			32	/* snap pixel */
 
@@ -41,8 +48,11 @@ static Layout layouts[] = { \
 #define KEYS \
 Key keys[] = { \
 	/* modifier			key		function	argument */ \
-	{ MODKEY|ShiftMask,		XK_Return,	spawn,		"exec xterm" }, \
-	{ MODKEY,			XK_p,		spawn, 		"exe=`dmenu_path | dmenu` && exec $exe" }, \
+	{ MODKEY,			XK_p,		spawn, \
+		"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
+		" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
+	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
+		"exec xterm -bg '"NORMBGCOLOR"' -fg '"NORMFGCOLOR"' -cr '"NORMFGCOLOR"' +sb -fn '"FONT"'" }, \
 	{ MODKEY,			XK_space,	setlayout,	NULL }, \
 	{ MODKEY,			XK_b,		togglebar,	NULL }, \
 	{ MODKEY,			XK_j,		focusnext,	NULL }, \
'>
60b351b ^

80e891a ^
60b351b ^
7c63259 ^
60b351b ^
bcd03c4 ^
7c63259 ^
de122b1 ^
7c63259 ^
de122b1 ^
80e891a ^
77a0f68 ^
7c63259 ^


60b351b ^
7c63259 ^
60b351b ^
52eb38a ^


1170893 ^
7c63259 ^
f3158b3 ^



db1b2cd ^


bcd03c4 ^



de122b1 ^







60b351b ^
80e891a ^
db1b2cd ^

60b351b ^
7c63259 ^

77a0f68 ^
80e891a ^

80e891a ^


bcd03c4 ^
60b351b ^
77a0f68 ^
bcd03c4 ^




7c63259 ^





bcd03c4 ^






60b351b ^
bcd03c4 ^



80e891a ^
7c63259 ^
db1b2cd ^
7c63259 ^

db1b2cd ^
0847464 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127