diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-03-13 10:11:02 +0000 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-03-13 10:11:02 +0000 |
| commit | 95eae7b9d25602cf5fb25ecbc9d92ead8005c1f8 (patch) | |
| tree | b14144e0812a5abd9e3d12078d41374661099f2c /config.def.h | |
| parent | some polishing (diff) | |
| download | dwm-95eae7b9d25602cf5fb25ecbc9d92ead8005c1f8.tar.gz dwm-95eae7b9d25602cf5fb25ecbc9d92ead8005c1f8.zip | |
removed all defines of geoms, implemented setgeoms() instead, added config.anselm.h to show how I'd like to see that people edit their geoms
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/config.def.h b/config.def.h index 4118d68..c1eedd4 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -10,35 +10,6 @@ | |||
| 10 | #define SELBGCOLOR "#0066ff" | 10 | #define SELBGCOLOR "#0066ff" |
| 11 | #define SELFGCOLOR "#ffffff" | 11 | #define SELFGCOLOR "#ffffff" |
| 12 | 12 | ||
| 13 | /* bar position */ | ||
| 14 | #define BX sx | ||
| 15 | #define BY sy | ||
| 16 | #define BW sw | ||
| 17 | |||
| 18 | /* window area */ | ||
| 19 | #define WX 0 | ||
| 20 | #define WY bh | ||
| 21 | #define WW sw | ||
| 22 | #define WH sh - bh | ||
| 23 | |||
| 24 | /* master area */ | ||
| 25 | #define MX WX | ||
| 26 | #define MY WY | ||
| 27 | #define MW ((int)(((float)sw) * 0.6)) | ||
| 28 | #define MH WH | ||
| 29 | |||
| 30 | /* tile area, might be on a different screen */ | ||
| 31 | #define TX MX + MW | ||
| 32 | #define TY WY | ||
| 33 | #define TW WW - MW | ||
| 34 | #define TH WH | ||
| 35 | |||
| 36 | /* monocle area, might be restricted to a specific screen */ | ||
| 37 | #define MOX WX | ||
| 38 | #define MOY WY | ||
| 39 | #define MOW WW | ||
| 40 | #define MOH WH | ||
| 41 | |||
| 42 | /* tagging */ | 13 | /* tagging */ |
| 43 | const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; | 14 | const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
| 44 | 15 | ||
| @@ -66,13 +37,8 @@ Layout layouts[] = { | |||
| 66 | #define MODKEY Mod1Mask | 37 | #define MODKEY Mod1Mask |
| 67 | Key keys[] = { | 38 | Key keys[] = { |
| 68 | /* modifier key function argument */ | 39 | /* modifier key function argument */ |
| 69 | #if ANSELM_OFFICE | ||
| 70 | { MODKEY, XK_p, spawn, | ||
| 71 | "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"' -x 0 -y 0 -w 1280" }, | ||
| 72 | #else | ||
| 73 | { MODKEY, XK_p, spawn, | 40 | { MODKEY, XK_p, spawn, |
| 74 | "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, | 41 | "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, |
| 75 | #endif | ||
| 76 | { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, | 42 | { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, |
| 77 | { MODKEY, XK_j, focusnext, NULL }, | 43 | { MODKEY, XK_j, focusnext, NULL }, |
| 78 | { MODKEY, XK_k, focusprev, NULL }, | 44 | { MODKEY, XK_k, focusprev, NULL }, |
