aewl

diff config.h @ 152:4a64fd270e47

removed 5LOC
author arg@10ksloc.org
date Tue, 01 Aug 2006 16:20:03 +0200
parents a26b32ff8911
children 9bd8a1a50464
line diff
     1.1 --- a/config.h	Tue Aug 01 16:14:17 2006 +0200
     1.2 +++ b/config.h	Tue Aug 01 16:20:03 2006 +0200
     1.3 @@ -3,7 +3,9 @@
     1.4   * See LICENSE file for license details.
     1.5   */
     1.6  
     1.7 -#define ARRANGE 		dotile /* dofloat */
     1.8 +enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
     1.9 +#define DEFTAG			Tdev
    1.10 +#define ARRANGE			dotile /* dofloat */
    1.11  #define FONT			"fixed"
    1.12  #define BGCOLOR			"#666699"
    1.13  #define FGCOLOR			"#eeeeee"
    1.14 @@ -12,7 +14,6 @@
    1.15  #define NUMLOCKMASK		Mod2Mask
    1.16  #define MASTERW			52 /* percent */
    1.17  
    1.18 -enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
    1.19  #define TAGS \
    1.20  char *tags[TLast] = { \
    1.21  	[Tfnord] = "fnord", \
    1.22 @@ -21,13 +22,9 @@
    1.23  	[Twork] = "work", \
    1.24  	[Tmisc] = "misc", \
    1.25  };
    1.26 -#define DEFTAG Tdev
    1.27 -
    1.28 -
    1.29 -#define CMDS \
    1.30 -	const char *term[] = { "xterm", NULL };
    1.31  
    1.32  #define KEYS \
    1.33 +	const char *term[] = { "xterm", NULL }; \
    1.34  static Key key[] = { \
    1.35  	/* modifier		key		function	arguments */ \
    1.36  	{ MODKEY,		XK_0,		view,		{ .i = Tfnord } }, \