Adding three column patch

This commit is contained in:
jon
2020-10-05 18:37:46 -05:00
parent b05b22ae95
commit 12b83c13ba
2 changed files with 79 additions and 0 deletions

View File

@@ -3,6 +3,9 @@
// patch config - uselessgap
static const unsigned int gappx = 6; /* gap pixel between windows */
// three column patch include
#include "tcl.c"
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
@@ -60,6 +63,7 @@ static const Layout layouts[] = {
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
{ "|||", tcl },
};
/* key definitions */
@@ -105,6 +109,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, XK_0, view, {.ui = ~0 } },