comparison config.arg.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
8 #define ARRANGE dotile /* dofloat */
9 #define DEFTAG Tdev
7 #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" 10 #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
8 #define BGCOLOR "#0a2c2d" 11 #define BGCOLOR "#0a2c2d"
9 #define FGCOLOR "#ddeeee" 12 #define FGCOLOR "#ddeeee"
10 #define BORDERCOLOR "#176164" 13 #define BORDERCOLOR "#176164"
11 #define MODKEY Mod1Mask 14 #define MODKEY Mod1Mask
12 #define NUMLOCKMASK Mod2Mask 15 #define NUMLOCKMASK Mod2Mask
13 #define MASTERW 52 /* percent */ 16 #define MASTERW 52 /* percent */
14 17
15 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
16 #define TAGS \ 18 #define TAGS \
17 char *tags[TLast] = { \ 19 char *tags[TLast] = { \
18 [Tfnord] = "fnord", \ 20 [Tfnord] = "fnord", \
19 [Tdev] = "dev", \ 21 [Tdev] = "dev", \
20 [Tnet] = "net", \ 22 [Tnet] = "net", \
21 [Twork] = "work", \ 23 [Twork] = "work", \
22 [Tmisc] = "misc", \ 24 [Tmisc] = "misc", \
23 }; 25 };
24 #define DEFTAG Tdev
25 26
26 27 #define KEYS \
27 #define CMDS \
28 const char *browse[] = { "firefox", NULL }; \ 28 const char *browse[] = { "firefox", NULL }; \
29 const char *gimp[] = { "gimp", NULL }; \ 29 const char *gimp[] = { "gimp", NULL }; \
30 const char *term[] = { \ 30 const char *term[] = { \
31 "urxvt", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", \ 31 "urxvt", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", \
32 "-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL \ 32 "-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL \
33 }; \ 33 }; \
34 const char *xlock[] = { "xlock", NULL }; 34 const char *xlock[] = { "xlock", NULL }; \
35
36 #define KEYS \
37 static Key key[] = { \ 35 static Key key[] = { \
38 /* modifier key function arguments */ \ 36 /* modifier key function arguments */ \
39 { MODKEY, XK_0, view, { .i = Tfnord } }, \ 37 { MODKEY, XK_0, view, { .i = Tfnord } }, \
40 { MODKEY, XK_1, view, { .i = Tdev } }, \ 38 { MODKEY, XK_1, view, { .i = Tdev } }, \
41 { MODKEY, XK_2, view, { .i = Tnet } }, \ 39 { MODKEY, XK_2, view, { .i = Tnet } }, \