Implement cyclelayout
This commit is contained in:
parent
aefae1c570
commit
8a560950b5
7
config.h
7
config.h
@ -106,11 +106,6 @@ static const char *top[] = { "kitty" , "htop" , NULL };
|
|||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
|
|
||||||
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
|
|
||||||
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
|
|
||||||
{ MODKEY, XK_space, setlayout, {0} },
|
|
||||||
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
|
|
||||||
{ MODKEY, XK_BackSpace, view, {0} },
|
{ MODKEY, XK_BackSpace, view, {0} },
|
||||||
{ MODKEY, XK_a, view, {.ui = ~0} }, // Select all tags. Cancel it with `MODKEY + [tag key]`.
|
{ MODKEY, XK_a, view, {.ui = ~0} }, // Select all tags. Cancel it with `MODKEY + [tag key]`.
|
||||||
{ MODKEY|Mod1Mask, XK_p, tag, {.ui = ~0} }, // Pin current window to all tags. Cancel it with `MODKEY + Shift + [tag key]`.
|
{ MODKEY|Mod1Mask, XK_p, tag, {.ui = ~0} }, // Pin current window to all tags. Cancel it with `MODKEY + Shift + [tag key]`.
|
||||||
@ -148,6 +143,8 @@ static const Key keys[] = {
|
|||||||
{ MODKEY|ControlMask|ShiftMask, XK_Left, shifttag, {.i = -1} },
|
{ MODKEY|ControlMask|ShiftMask, XK_Left, shifttag, {.i = -1} },
|
||||||
{ MODKEY|ControlMask|ShiftMask, XK_Right, shifttag, {.i = +1} },
|
{ MODKEY|ControlMask|ShiftMask, XK_Right, shifttag, {.i = +1} },
|
||||||
|
|
||||||
|
{ MODKEY|Mod1Mask, XK_v, cyclelayout, {0} },
|
||||||
|
|
||||||
{ MODKEY, XK_w, killclient, {0} },
|
{ MODKEY, XK_w, killclient, {0} },
|
||||||
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user