aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-08-03 12:44:47 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-08-03 12:44:47 -0500
commit5a2d87fa6cd33bd170b6e98534fe966ffa17576b (patch)
tree5b70d5fbfed853c97917dc98916a38c9928cb21f /config.def.h
parent27bbf9c14f81c5b09bfe2a0378c8e1f96ab89160 (diff)
add monocle layout
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 681cfba..8c10165 100644
--- a/config.def.h
+++ b/config.def.h
@@ -19,6 +19,7 @@ static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile },
{ "><>", NULL }, /* no layout function means floating behavior */
+ { "[M]", monocle },
};
/* monitors */
@@ -65,6 +66,7 @@ static const Key keys[] = {
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_c, killclient, {0} },
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
+ { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XKB_KEY_space, setlayout, {0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
{ MODKEY, XKB_KEY_0, view, {.ui = ~0} },