diff options
Diffstat (limited to '.repos/dwm/config.h')
-rw-r--r-- | .repos/dwm/config.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/.repos/dwm/config.h b/.repos/dwm/config.h index b218ea6..9ecb4fc 100644 --- a/.repos/dwm/config.h +++ b/.repos/dwm/config.h @@ -1,4 +1,6 @@ /* See LICENSE file for copyright and license details. */ +#include "horizgrid.c" +#include "tcl.c" /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ @@ -40,13 +42,15 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ -static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ +static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { /* symbol arrange function */ + { "[G]", horizgrid }, { "[T]", tile }, /* first entry is default */ { "[F]", NULL }, /* no layout function means floating behavior */ { "[M]", monocle }, + { "[3]", tcl }, }; /* key definitions */ @@ -70,27 +74,30 @@ static const char *lockcmd[] = { "slock", NULL }; static Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_d, spawn, {.v = dmenucmd } }, + { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } }, { MODKEY|ShiftMask, XK_s, spawn, {.v = musiccmd } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } }, + { MODKEY|ShiftMask, XK_Return, zoom, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY|ShiftMask, XK_j, rotatestack, {.i = +1 } }, { MODKEY|ShiftMask, XK_k, rotatestack, {.i = -1 } }, - // { MODKEY, XK_i, incnmaster, {.i = +1 } }, - // { MODKEY, XK_d, incnmaster, {.i = -1 } }, + { MODKEY, XK_i, incnmaster, {.i = +1 } }, + { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY, XK_q, killclient, {0} }, - { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, - { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, + { MODKEY, XK_g, setlayout, {.v = &layouts[0]} }, + { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, + { MODKEY, XK_f, setlayout, {.v = &layouts[2]} }, + { MODKEY, XK_m, setlayout, {.v = &layouts[3]} }, + { MODKEY, XK_c, setlayout, {.v = &layouts[4]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, @@ -108,6 +115,7 @@ static Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) + { MODKEY|ShiftMask, XK_q, quit, {0} }, }; |