summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-26 19:23:33 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-26 19:23:33 -0500
commitb105d6841b1eaffa9aa7efe1e9bd8c60fc8bd625 (patch)
tree8454f5f9326b2b8aecd271461c4027e9200bbb92 /config.def.h
parentd692e035f473a99803ef1cc8e727b37f8c64d0f4 (diff)
Revert "Implement centeredmaster without the floating one"
This reverts commit 08b02c85710ffb3a95e07e21a64c2e684cf277d8.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index e652032..5251d56 100644
--- a/config.def.h
+++ b/config.def.h
@@ -47,7 +47,7 @@ static const int mainmon = 0; /* xsetroot will only change the bar on this monit
static const int lpm[] = {
/* Index of preferred layout], if LENGTH(lpm)<#monitors -> default layout */
- 0, 4
+ 0, 3
};
static const Layout layouts[] = {
@@ -55,7 +55,6 @@ static const Layout layouts[] = {
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
- { "|M|", centeredmaster },
{ "[][]=", tilewide },
};
@@ -101,8 +100,7 @@ static const 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_w, setlayout, {.v = &layouts[4]} },
+ { MODKEY, XK_w, setlayout, {.v = &layouts[3]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
@@ -135,8 +133,8 @@ static const Button buttons[] = {
{ ClkStatusText, 0, Button3, sigstatusbar, {.i = 3} },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
- { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
- { ClkTagBar, 0, Button1, view, {0} },
+ { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
+ { ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },