X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/c6180949a759e936e57d7ec9d4cfee3379a39cef..90af1ced3c634683ec4c0e51c5f1e69461a9192a:/config.def.h diff --git a/config.def.h b/config.def.h index 91cf439..973ab4c 100644 --- a/config.def.h +++ b/config.def.h @@ -24,6 +24,7 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ +static const int nmaster = 1; /* number of clients in master area */ static const Bool resizehints = True; /* True means respect size hints in tiled resizals */ static const Layout layouts[] = { @@ -55,6 +56,8 @@ static Key keys[] = { { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, + { MODKEY, XK_i, incnmaster, {.i = +1 } }, + { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY, XK_Return, zoom, {0} },