mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
19 lines
940 B
Text
Executable file
19 lines
940 B
Text
Executable file
--- config.def.h
|
|
+++ config.def.h
|
|
@@ -41,6 +41,7 @@ static const Layout layouts[] = {
|
|
{ "[]=", tile }, /* first entry is default */
|
|
{ "><>", NULL }, /* no layout function means floating behavior */
|
|
{ "[M]", monocle },
|
|
+ { NULL, NULL },
|
|
};
|
|
|
|
/* key definitions */
|
|
@@ -76,6 +77,8 @@ 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|ControlMask, XK_comma, cyclelayout, {.i = -1 } },
|
|
+ { MODKEY|ControlMask, XK_period, cyclelayout, {.i = +1 } },
|
|
{ MODKEY, XK_space, setlayout, {0} },
|
|
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
|
|
{ MODKEY, XK_0, view, {.ui = ~0 } },
|