aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-17 13:32:17 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-17 13:32:17 +0100
commitf80198ef92177996c5dc5c6e0487f1ce9e180e63 (patch)
tree36292bb4ce86d4caa9772b805b2d66464da5ac8c /config.h
parentRemoved bloat (diff)
downloaddwm-f80198ef92177996c5dc5c6e0487f1ce9e180e63.tar.gz
dwm-f80198ef92177996c5dc5c6e0487f1ce9e180e63.tar.bz2
dwm-f80198ef92177996c5dc5c6e0487f1ce9e180e63.tar.xz
dwm-f80198ef92177996c5dc5c6e0487f1ce9e180e63.tar.zst
dwm-f80198ef92177996c5dc5c6e0487f1ce9e180e63.zip
Added centeredmaster patch
Diffstat (limited to 'config.h')
-rw-r--r--config.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/config.h b/config.h
index b257e45..a8aff8d 100644
--- a/config.h
+++ b/config.h
@@ -48,6 +48,8 @@ static const Layout layouts[] = {
/* symbol arrange function */
{ "-|=", ntile },
{ "-|-", nbstack },
+ { "|M|", centeredmaster },
+ { ">M>", centeredfloatingmaster },
{ "[\\]", dwindle },
{ "[@]", spiral },
{ "[]=", tile }, /* first entry is default */
@@ -114,11 +116,13 @@ static Key keys[] = {
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_s, setlayout, {.v = &layouts[0]} }, /* nbtile */
{ MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[1]} }, /* nbstack */
- { MODKEY, XK_t, setlayout, {.v = &layouts[2]} }, /* dwindle */
- { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[3]} }, /* spiral */
- { MODKEY, XK_v, setlayout, {.v = &layouts[4]} }, /* tile */
- { MODKEY, XK_f, setlayout, {.v = &layouts[5]} }, /* monocle */
- { MODKEY, XK_n, setlayout, {.v = &layouts[6]} }, /* floating */
+ { MODKEY, XK_c, setlayout, {.v = &layouts[2]} }, /* centeredmaster */
+ { MODKEY|ShiftMask, XK_c, setlayout, {.v = &layouts[3]} }, /* centeredfloatingmaster */
+ { MODKEY, XK_t, setlayout, {.v = &layouts[4]} }, /* dwindle */
+ { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[5]} }, /* spiral */
+ { MODKEY, XK_v, setlayout, {.v = &layouts[6]} }, /* tile */
+ { MODKEY, XK_f, setlayout, {.v = &layouts[7]} }, /* monocle */
+ { MODKEY, XK_n, setlayout, {.v = &layouts[8]} }, /* floating */
{ MODKEY|ShiftMask, XK_space, setlayout, {0} },
{ MODKEY, XK_space, togglefloating, {0} },
{ MODKEY|ShiftMask, XK_f, togglefullscr, {0} },