summaryrefslogtreecommitdiffstats
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
parentremoved artefacts of single-linked list (thanx to Jukka, I must have been mad) (diff)
downloaddwm-b38905b0048ded1cdd20b0edec64d56450c47551.tar.gz
dwm-b38905b0048ded1cdd20b0edec64d56450c47551.zip
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 @@
3 * See LICENSE file for license details. 3 * See LICENSE file for license details.
4 */ 4 */
5 5
6#define ARRANGE dotile /* dofloat */ 6enum { 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"
@@ -12,7 +15,6 @@
12#define NUMLOCKMASK Mod2Mask 15#define NUMLOCKMASK Mod2Mask
13#define MASTERW 52 /* percent */ 16#define MASTERW 52 /* percent */
14 17
15enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
16#define TAGS \ 18#define TAGS \
17char *tags[TLast] = { \ 19char *tags[TLast] = { \
18 [Tfnord] = "fnord", \ 20 [Tfnord] = "fnord", \
@@ -21,19 +23,15 @@ char *tags[TLast] = { \
21 [Twork] = "work", \ 23 [Twork] = "work", \
22 [Tmisc] = "misc", \ 24 [Tmisc] = "misc", \
23}; 25};
24#define DEFTAG Tdev
25
26 26
27#define CMDS \ 27#define KEYS \
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 \
37static Key key[] = { \ 35static 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 } }, \
diff --git a/config.h b/config.h
index bc60bd0..36213c0 100644
--- a/config.h
+++ b/config.h
@@ -3,7 +3,9 @@
3 * See LICENSE file for license details. 3 * See LICENSE file for license details.
4 */ 4 */
5 5
6#define ARRANGE dotile /* dofloat */ 6enum { 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"
@@ -12,7 +14,6 @@
12#define NUMLOCKMASK Mod2Mask 14#define NUMLOCKMASK Mod2Mask
13#define MASTERW 52 /* percent */ 15#define MASTERW 52 /* percent */
14 16
15enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
16#define TAGS \ 17#define TAGS \
17char *tags[TLast] = { \ 18char *tags[TLast] = { \
18 [Tfnord] = "fnord", \ 19 [Tfnord] = "fnord", \
@@ -21,13 +22,9 @@ char *tags[TLast] = { \
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 }; \
31static Key key[] = { \ 28static 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 } }, \