diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-05-19 12:34:54 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-05-19 12:34:54 +0100 |
| commit | 549726869bd88f70727ecae8a28161700395b20b (patch) | |
| tree | 39e41433bfe364577b335dcd96719cdf15333dd9 /config.def.h | |
| parent | new stuff (diff) | |
| download | dwm-549726869bd88f70727ecae8a28161700395b20b.tar.gz dwm-549726869bd88f70727ecae8a28161700395b20b.zip | |
recent changes, introduced togglebar, changed some defines into variable declarations where possible
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h index d62b131..0619a9e 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* See LICENSE file for copyright and license details. */ | 1 | /* See LICENSE file for copyright and license details. */ |
| 2 | 2 | ||
| 3 | /* appearance */ | 3 | /* appearance */ |
| 4 | #define BORDERPX 1 | ||
| 5 | #define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" | 4 | #define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" |
| 6 | #define NORMBORDERCOLOR "#cccccc" | 5 | #define NORMBORDERCOLOR "#cccccc" |
| 7 | #define NORMBGCOLOR "#cccccc" | 6 | #define NORMBGCOLOR "#cccccc" |
| @@ -9,7 +8,10 @@ | |||
| 9 | #define SELBORDERCOLOR "#0066ff" | 8 | #define SELBORDERCOLOR "#0066ff" |
| 10 | #define SELBGCOLOR "#0066ff" | 9 | #define SELBGCOLOR "#0066ff" |
| 11 | #define SELFGCOLOR "#ffffff" | 10 | #define SELFGCOLOR "#ffffff" |
| 12 | #define SNAP 32 /* snap pixel */ | 11 | unsigned int borderpx = 1; /* border pixel of windows */ |
| 12 | unsigned int snap = 32; /* snap pixel */ | ||
| 13 | Bool showbar = True; /* False means no bar */ | ||
| 14 | Bool topbar = True; /* False means bottom bar */ | ||
| 13 | 15 | ||
| 14 | /* tagging */ | 16 | /* tagging */ |
| 15 | const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; | 17 | const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
| @@ -20,9 +22,11 @@ Rule rules[] = { | |||
| 20 | }; | 22 | }; |
| 21 | 23 | ||
| 22 | /* layout(s) */ | 24 | /* layout(s) */ |
| 23 | #define RESIZEHINTS True /* False - respect size hints in tiled resizals */ | 25 | double mfact = 0.55; |
| 24 | #define MFACT 0.55 /* master factor [0.1 .. 0.9] */ | 26 | Bool resizehints = True; /* False means respect size hints in tiled resizals */ |
| 27 | |||
| 25 | #include "tile.c" | 28 | #include "tile.c" |
| 29 | |||
| 26 | Layout layouts[] = { | 30 | Layout layouts[] = { |
| 27 | /* symbol arrange geom */ | 31 | /* symbol arrange geom */ |
| 28 | { "[]=", tile, updatetilegeom }, /* first entry is default */ | 32 | { "[]=", tile, updatetilegeom }, /* first entry is default */ |
| @@ -35,6 +39,7 @@ Key keys[] = { | |||
| 35 | /* modifier key function argument */ | 39 | /* modifier key function argument */ |
| 36 | { MODKEY, XK_p, spawn, "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, | 40 | { MODKEY, XK_p, spawn, "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, |
| 37 | { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, | 41 | { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, |
| 42 | { MODKEY, XK_b, togglebar, NULL }, | ||
| 38 | { MODKEY, XK_j, focusnext, NULL }, | 43 | { MODKEY, XK_j, focusnext, NULL }, |
| 39 | { MODKEY, XK_k, focusprev, NULL }, | 44 | { MODKEY, XK_k, focusprev, NULL }, |
| 40 | { MODKEY, XK_h, setmfact, "-0.05" }, | 45 | { MODKEY, XK_h, setmfact, "-0.05" }, |
