diff options
author | Jackson Taylor <jtaylormuffins@gmail.com> | 2020-07-05 03:03:57 +0000 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2022-02-07 10:19:29 -0500 |
commit | c9f179efd41ae6c5878e80db42cfc1a5de8903a5 (patch) | |
tree | e23311131e2482dc6f1f4483c88706b898245a45 /config.def.h | |
parent | 3a035d8bcc5b914aca96629bd92152559e88ff7c (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 793c2b02..157f23ec 100644 --- a/config.def.h +++ b/config.def.h @@ -43,6 +43,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 */ @@ -78,6 +80,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|ShiftMask, XK_c, setlayout, {.v = &layouts[4]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, |