diff options
author | Jackson Taylor <jackson@jacksontaylor.xyz> | 2022-06-18 21:43:54 -0400 |
---|---|---|
committer | Jackson Taylor <jackson@jacksontaylor.xyz> | 2022-06-18 21:43:54 -0400 |
commit | af5759a315d4c2f9fa217321f2dfabc97841bf1e (patch) | |
tree | c6d3be18adf841a45286fed7a467ae3f17360638 /config.def.h | |
parent | f3cb23386035ea676cba4515094d22ad6e99ca9c (diff) |
Add centered master layouts
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 7ba6c441..0d846a3d 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 */ @@ -77,6 +79,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_c, setlayout, {.v = &layouts[3]} }, + { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY|ShiftMask, XK_f, togglefullscr, {0} }, |