diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-22 07:15:53 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-22 07:15:53 +0000 |
commit | d66f3c8e4c8ab43a7c9943bebcb72e2df16993a7 (patch) | |
tree | 1fb554c8fe529add3527d6ca26fd514b8b677dcf /config.def.h | |
parent | 84e9f9c1c790a489ffedff09360eb109c3b4ce6e (diff) | |
download | dwm-d66f3c8e4c8ab43a7c9943bebcb72e2df16993a7.tar.gz dwm-d66f3c8e4c8ab43a7c9943bebcb72e2df16993a7.tar.bz2 dwm-d66f3c8e4c8ab43a7c9943bebcb72e2df16993a7.zip |
+patches for centered master
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 d86b3fd..93d2bed 100644 --- a/config.def.h +++ b/config.def.h @@ -54,6 +54,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 */ @@ -92,6 +94,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 } }, |