comparison config.h @ 152:4a64fd270e47

removed 5LOC
author arg@10ksloc.org
date Tue, 01 Aug 2006 16:20:03 +0200
parents a26b32ff8911
children 9bd8a1a50464
comparison
equal deleted inserted replaced
151:e1859517e3a6 152:4a64fd270e47
1 /* 1 /*
2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com> 2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details. 3 * See LICENSE file for license details.
4 */ 4 */
5 5
6 #define ARRANGE dotile /* dofloat */ 6 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
7 #define DEFTAG Tdev
8 #define ARRANGE dotile /* dofloat */
7 #define FONT "fixed" 9 #define FONT "fixed"
8 #define BGCOLOR "#666699" 10 #define BGCOLOR "#666699"
9 #define FGCOLOR "#eeeeee" 11 #define FGCOLOR "#eeeeee"
10 #define BORDERCOLOR "#9999CC" 12 #define BORDERCOLOR "#9999CC"
11 #define MODKEY Mod1Mask 13 #define MODKEY Mod1Mask
12 #define NUMLOCKMASK Mod2Mask 14 #define NUMLOCKMASK Mod2Mask
13 #define MASTERW 52 /* percent */ 15 #define MASTERW 52 /* percent */
14 16
15 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
16 #define TAGS \ 17 #define TAGS \
17 char *tags[TLast] = { \ 18 char *tags[TLast] = { \
18 [Tfnord] = "fnord", \ 19 [Tfnord] = "fnord", \
19 [Tdev] = "dev", \ 20 [Tdev] = "dev", \
20 [Tnet] = "net", \ 21 [Tnet] = "net", \
21 [Twork] = "work", \ 22 [Twork] = "work", \
22 [Tmisc] = "misc", \ 23 [Tmisc] = "misc", \
23 }; 24 };
24 #define DEFTAG Tdev
25
26
27 #define CMDS \
28 const char *term[] = { "xterm", NULL };
29 25
30 #define KEYS \ 26 #define KEYS \
27 const char *term[] = { "xterm", NULL }; \
31 static Key key[] = { \ 28 static Key key[] = { \
32 /* modifier key function arguments */ \ 29 /* modifier key function arguments */ \
33 { MODKEY, XK_0, view, { .i = Tfnord } }, \ 30 { MODKEY, XK_0, view, { .i = Tfnord } }, \
34 { MODKEY, XK_1, view, { .i = Tdev } }, \ 31 { MODKEY, XK_1, view, { .i = Tdev } }, \
35 { MODKEY, XK_2, view, { .i = Tnet } }, \ 32 { MODKEY, XK_2, view, { .i = Tnet } }, \