about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-01 16:20:03 +0200
committerarg@10ksloc.org <unknown>2006-08-01 16:20:03 +0200
commitb38905b0048ded1cdd20b0edec64d56450c47551 (patch)
treee409ec623aa357f062282e592af75a6632298cf7
parentd9a6a3b5d2e0152d5746723fcd482994602f292e (diff)
downloaddwm-b38905b0048ded1cdd20b0edec64d56450c47551.tar.gz
removed 5LOC
-rw-r--r--config.arg.h14
-rw-r--r--config.h11
2 files changed, 10 insertions, 15 deletions
diff --git a/config.arg.h b/config.arg.h
index 3b44fd7..180b890 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -3,7 +3,10 @@
  * See LICENSE file for license details.
  */
 
-#define ARRANGE 		dotile /* dofloat */
+enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
+
+#define ARRANGE			dotile /* dofloat */
+#define DEFTAG			Tdev
 #define FONT			"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
 #define BGCOLOR			"#0a2c2d"
 #define FGCOLOR			"#ddeeee"
@@ -12,7 +15,6 @@
 #define NUMLOCKMASK		Mod2Mask
 #define MASTERW			52 /* percent */
 
-enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
 #define TAGS \
 char *tags[TLast] = { \
 	[Tfnord] = "fnord", \
@@ -21,19 +23,15 @@ char *tags[TLast] = { \
 	[Twork] = "work", \
 	[Tmisc] = "misc", \
 };
-#define DEFTAG Tdev
-
 
-#define CMDS \
+#define KEYS \
 	const char *browse[] = { "firefox", NULL }; \
 	const char *gimp[] = { "gimp", NULL }; \
 	const char *term[] = { \
 		"urxvt", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", \
 		"-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL \
 	}; \
-	const char *xlock[] = { "xlock", NULL };
-
-#define KEYS \
+	const char *xlock[] = { "xlock", NULL }; \
 static Key key[] = { \
 	/* modifier		key		function	arguments */ \
 	{ MODKEY,		XK_0,		view,		{ .i = Tfnord } }, \
diff --git a/config.h b/config.h
index bc60bd0..36213c0 100644
--- a/config.h
+++ b/config.h
@@ -3,7 +3,9 @@
  * See LICENSE file for license details.
  */
 
-#define ARRANGE 		dotile /* dofloat */
+enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
+#define DEFTAG			Tdev
+#define ARRANGE			dotile /* dofloat */
 #define FONT			"fixed"
 #define BGCOLOR			"#666699"
 #define FGCOLOR			"#eeeeee"
@@ -12,7 +14,6 @@
 #define NUMLOCKMASK		Mod2Mask
 #define MASTERW			52 /* percent */
 
-enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
 #define TAGS \
 char *tags[TLast] = { \
 	[Tfnord] = "fnord", \
@@ -21,13 +22,9 @@ char *tags[TLast] = { \
 	[Twork] = "work", \
 	[Tmisc] = "misc", \
 };
-#define DEFTAG Tdev
-
-
-#define CMDS \
-	const char *term[] = { "xterm", NULL };
 
 #define KEYS \
+	const char *term[] = { "xterm", NULL }; \
 static Key key[] = { \
 	/* modifier		key		function	arguments */ \
 	{ MODKEY,		XK_0,		view,		{ .i = Tfnord } }, \
1 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370