From 6a3d2099435d74b12672ebd2356f3ba490fa06bc Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 7 Jul 2022 18:31:57 +0530 Subject: applying dwm-gridmode patch --- config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index c7e9a08..dced5fc 100644 --- a/config.h +++ b/config.h @@ -52,11 +52,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 const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ +#include "layouts.c" static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, /* first entry is default */ { "><>", NULL }, /* no layout function means floating behavior */ { "[M]", monocle }, + { "HHH", grid }, }; /* key definitions */ @@ -99,6 +101,7 @@ static Key keys[] = { { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_y, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_u, setlayout, {.v = &layouts[2]} }, + { MODKEY, XK_g, setlayout, {.v = &layouts[3]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, -- cgit v1.2.3