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 | 42cb2bd3be755e8fc358347e085e9609fa54eb57 (diff) | |
download | dwm-549726869bd88f70727ecae8a28161700395b20b.tar.gz dwm-549726869bd88f70727ecae8a28161700395b20b.tar.bz2 dwm-549726869bd88f70727ecae8a28161700395b20b.zip |
recent changes, introduced togglebar, changed some defines into variable declarations where possible
Diffstat (limited to 'config.def.h')
-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 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -#define BORDERPX 1 #define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" #define NORMBORDERCOLOR "#cccccc" #define NORMBGCOLOR "#cccccc" @@ -9,7 +8,10 @@ #define SELBORDERCOLOR "#0066ff" #define SELBGCOLOR "#0066ff" #define SELFGCOLOR "#ffffff" -#define SNAP 32 /* snap pixel */ +unsigned int borderpx = 1; /* border pixel of windows */ +unsigned int snap = 32; /* snap pixel */ +Bool showbar = True; /* False means no bar */ +Bool topbar = True; /* False means bottom bar */ /* tagging */ const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -20,9 +22,11 @@ Rule rules[] = { }; /* layout(s) */ -#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ -#define MFACT 0.55 /* master factor [0.1 .. 0.9] */ +double mfact = 0.55; +Bool resizehints = True; /* False means respect size hints in tiled resizals */ + #include "tile.c" + Layout layouts[] = { /* symbol arrange geom */ { "[]=", tile, updatetilegeom }, /* first entry is default */ @@ -35,6 +39,7 @@ Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, + { MODKEY, XK_b, togglebar, NULL }, { MODKEY, XK_j, focusnext, NULL }, { MODKEY, XK_k, focusprev, NULL }, { MODKEY, XK_h, setmfact, "-0.05" }, |