cyclelayouts patch
- Apply cyclelayouts patch - Add patch link to README - Add new layout cycling keybindings to man page
This commit is contained in:
3
config.h
3
config.h
@@ -53,6 +53,7 @@ static const Layout layouts[] = {
|
||||
{ "|M|", centeredmaster },
|
||||
{ ">M>", centeredfloatingmaster },
|
||||
{ "HHH", grid },
|
||||
{ NULL, NULL },
|
||||
};
|
||||
|
||||
/* key definitions */
|
||||
@@ -112,6 +113,8 @@ static Key keys[] = {
|
||||
{ MODKEY, XK_u, setlayout, {.v = &layouts[3]} },
|
||||
{ MODKEY, XK_o, setlayout, {.v = &layouts[4]} },
|
||||
{ MODKEY, XK_g, setlayout, {.v = &layouts[5]} },
|
||||
{ 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} },
|
||||
|
Reference in New Issue
Block a user