# HG changeset patch # User arg@10ksloc.org # Date 1154442003 -7200 # Node ID 4a64fd270e4791943893f9546245551f9a05bd59 # Parent e1859517e3a65c9b5ab755097ff754d6f555da90 removed 5LOC diff -r e1859517e3a6 -r 4a64fd270e47 config.arg.h --- a/config.arg.h Tue Aug 01 16:14:17 2006 +0200 +++ b/config.arg.h Tue Aug 01 16:20:03 2006 +0200 @@ -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 @@ [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 -r e1859517e3a6 -r 4a64fd270e47 config.h --- a/config.h Tue Aug 01 16:14:17 2006 +0200 +++ b/config.h Tue Aug 01 16:20:03 2006 +0200 @@ -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 @@ [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 } }, \