summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2021-06-17 21:24:59 -0500
committerzachir <zachir@librem.one>2021-06-17 21:31:25 -0500
commit631bcee3d0ea470171f23c041b3babdaaadd0d0d (patch)
tree74d4ee3569da4c55800ccd474bf81bc6df367fe7 /config.def.h
parent409a12708a63591dec68c57037f658ff75aebbb5 (diff)
Add triple column layout
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 9b6eba9..a66fbe2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -61,11 +61,13 @@ static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
static int attachbelow = 1; /* 1 means attach after the currently active window */
+#include "tcl.c"
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
+ { "|||", tcl },
};
/* key definitions */
@@ -105,6 +107,7 @@ 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|ShiftMask, XK_t, setlayout, {.v = &layouts[3]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY|ShiftMask, XK_f, togglefullscr, {0} },