diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-10-28 12:41:14 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-10-28 12:41:14 +0100 |
| commit | c36f7c3c5e5db297689765142c64977f6317a21c (patch) | |
| tree | e11ceb2515ae858a42f3c4606fda7872ec05a26c /config.def.h | |
| parent | some sanity changes (diff) | |
| download | dwm-c36f7c3c5e5db297689765142c64977f6317a21c.tar.gz dwm-c36f7c3c5e5db297689765142c64977f6317a21c.zip | |
replaced ISTILE with domwfact/dozoom bools, removed nrules, nlayouts and ltidx, added NRULES, NLAYOUTS and Layout *layout as alternatives, removed isarrange(), checking against layout->arrange instead.
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index fd37293..2813b3f 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -23,9 +23,9 @@ Rule rules[] = { | |||
| 23 | { "MPlayer", NULL, True }, | 23 | { "MPlayer", NULL, True }, |
| 24 | { "Acroread", NULL, True }, | 24 | { "Acroread", NULL, True }, |
| 25 | }; | 25 | }; |
| 26 | #define NRULES (sizeof rules / sizeof rules[0]) | ||
| 26 | 27 | ||
| 27 | /* layout(s) */ | 28 | /* layout(s) */ |
| 28 | #define ISTILE isarrange(tile) /* || isarrange(<custom>) */ | ||
| 29 | #define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ | 29 | #define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ |
| 30 | #define SNAP 32 /* snap pixel */ | 30 | #define SNAP 32 /* snap pixel */ |
| 31 | Layout layouts[] = { | 31 | Layout layouts[] = { |
| @@ -33,6 +33,7 @@ Layout layouts[] = { | |||
| 33 | { "[]=", tile }, /* first entry is default */ | 33 | { "[]=", tile }, /* first entry is default */ |
| 34 | { "><>", floating }, | 34 | { "><>", floating }, |
| 35 | }; | 35 | }; |
| 36 | #define NLAYOUTS (sizeof layouts / sizeof layouts[0]) | ||
| 36 | 37 | ||
| 37 | /* key definitions */ | 38 | /* key definitions */ |
| 38 | #define MODKEY Mod1Mask | 39 | #define MODKEY Mod1Mask |
| @@ -94,3 +95,4 @@ Key keys[] = { \ | |||
| 94 | { MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, \ | 95 | { MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, \ |
| 95 | { MODKEY|ShiftMask, XK_q, quit, NULL }, \ | 96 | { MODKEY|ShiftMask, XK_q, quit, NULL }, \ |
| 96 | }; | 97 | }; |
| 98 | #define NKEYS (sizeof keys / sizeof keys[0]) | ||
