Adds shortcut for fibonachi layout

keyboard
Jonathan Hodgson 6 years ago
parent 3b046cc298
commit e6218d57b8
  1. 5
      config.def.h

@ -50,7 +50,7 @@ static const Layout layouts[] = {
{ "[M]", monocle }, { "[M]", monocle },
{ "|||", tcl }, { "|||", tcl },
{ "[@]", spiral }, { "[@]", spiral },
{ "[\\]", dwindle }, { "[\\]", dwindle },
}; };
/* key definitions */ /* key definitions */
@ -103,9 +103,10 @@ static Key keys[] = {
{ MODKEY, XK_Tab, view, {0} }, { MODKEY, XK_Tab, view, {0} },
{ MODKEY, XK_q, killclient, {0} }, { MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[3]} }, { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[3]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[4]} },
{ MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[5]} },
{ MODKEY, XK_space, setlayout, {0} }, { MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY, XK_0, view, {.ui = ~0 } },

Loading…
Cancel
Save