diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-12-14 17:21:41 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-12-14 17:21:41 -0500 |
commit | 23d66b0e0be9ad4a36f8a6199e248b842e6d2358 (patch) | |
tree | be9f79521b8b97ce2b456b3369c1423009d3e274 /config.def.h | |
parent | 7ebf729796f7bfdb131cd044ea1a9b306c378a95 (diff) |
centered master patch
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index cadab54..884a78e 100644 --- a/config.def.h +++ b/config.def.h @@ -42,6 +42,8 @@ static const Layout layouts[] = { { "[]=", tile }, /* first entry is default */ { "><>", NULL }, /* no layout function means floating behavior */ { "[M]", monocle }, + { "|M|", centeredmaster }, + { ">M>", centeredfloatingmaster }, }; /* key definitions */ @@ -80,6 +82,8 @@ static Key keys[] = { { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, + { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, + { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, |