diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-17 13:32:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-17 13:32:17 +0100 |
commit | f80198ef92177996c5dc5c6e0487f1ce9e180e63 (patch) | |
tree | 36292bb4ce86d4caa9772b805b2d66464da5ac8c /config.h | |
parent | Removed bloat (diff) | |
download | dwm-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.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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} }, |