summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-15 22:25:27 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-15 22:25:27 +0200
commit0235a84ef286db5c97239615ae525ce973641941 (patch)
treeeed9e2c2b39249ada5353a841f8717894bf236b0 /config.h
parentnew colorscheme (16-bit compliant) (diff)
downloaddwm-0235a84ef286db5c97239615ae525ce973641941.tar.gz
dwm-0235a84ef286db5c97239615ae525ce973641941.zip
micromizing dwm step 1
Diffstat (limited to 'config.h')
-rw-r--r--config.h26
1 files changed, 11 insertions, 15 deletions
diff --git a/config.h b/config.h
index f946407..9dec069 100644
--- a/config.h
+++ b/config.h
@@ -12,24 +12,20 @@
12#define SELFGCOLOR "#fff" 12#define SELFGCOLOR "#fff"
13 13
14/* tagging */ 14/* tagging */
15#define TAGS \ 15static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
16const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; 16static Rule rules[] = {
17#define RULES \ 17 /* class:instance:title regex tags regex isfloating */
18static Rule rules[] = { \ 18 { "Firefox", "3", False },
19 /* class:instance:title regex tags regex isfloating */ \ 19 { "Gimp", NULL, True },
20 { "Firefox", "3", False }, \ 20 { "MPlayer", NULL, True },
21 { "Gimp", NULL, True }, \ 21 { "Acroread", NULL, True },
22 { "MPlayer", NULL, True }, \
23 { "Acroread", NULL, True }, \
24}; 22};
25 23
26/* layout(s) */ 24/* layout(s) */
27#include "tile.h" 25static Layout layouts[] = {
28#define LAYOUTS \ 26 /* symbol function */
29static Layout layouts[] = { \ 27 { "[]=", tile }, /* first entry is default */
30 /* symbol function */ \ 28 { "><>", floating },
31 { "[]=", tile }, /* first entry is default */ \
32 { "><>", floating }, \
33}; 29};
34#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ 30#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
35#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ 31#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */