- { MODKEY, XK_p, spawn, {.v = (char *[]){"dmenu_run", "-fn", FONT, "-nb", NORMBGCOLOR, "-nf", NORMFGCOLOR, "-sb", SELBGCOLOR, "-sf", SELFGCOLOR, NULL}} },
- { MODKEY|ShiftMask, XK_Return, spawn, {.v = (char *[]){"uxterm", NULL}} },
- { MODKEY, XK_b, togglebar, {0}},
- { MODKEY, XK_j, focusstack, {.i = +1 }},
- { MODKEY, XK_k, focusstack, {.i = -1 }},
- { MODKEY, XK_h, setmfact, {.f = -0.05}},
- { MODKEY, XK_l, setmfact, {.f = +0.05}},
- { MODKEY, XK_m, togglemax, {0}},
- { MODKEY, XK_Return, zoom, {0}},
- { MODKEY, XK_Tab, view, {0}},
- { MODKEY|ShiftMask, XK_c, killclient, {0}},
- { MODKEY, XK_space, togglelayout, {0}},
- { MODKEY|ShiftMask, XK_space, togglefloating, {0}},
- { MODKEY, XK_0, view, {.ui = ~0 } },
- { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
- TAGKEYS( XK_1, {.ui = 1 << 0} )
- TAGKEYS( XK_2, {.ui = 1 << 1} )
- TAGKEYS( XK_3, {.ui = 1 << 2} )
- TAGKEYS( XK_4, {.ui = 1 << 3} )
- TAGKEYS( XK_5, {.ui = 1 << 4} )
- TAGKEYS( XK_6, {.ui = 1 << 5} )
- TAGKEYS( XK_7, {.ui = 1 << 6} )
- TAGKEYS( XK_8, {.ui = 1 << 7} )
- TAGKEYS( XK_9, {.ui = 1 << 8} )
- { MODKEY|ShiftMask, XK_q, quit, {0}},
+ { 0, XK_F1, spawn, {.v = dmenucmd } },
+ { 0, XK_F2, kbspawn, {.v = termcmd } },
+ { MODKEY, XK_b, togglebar, {0} },
+ { MODKEY, XK_n, focusstack, {.i = +1 } },
+ { MODKEY, XK_h, focusstack, {.i = 0 } },
+// { MODKEY, XK_i, incnmaster, {.i = +1 } },
+// { MODKEY, XK_d, incnmaster, {.i = -1 } },
+ { MODKEY|ControlMask, XK_h, setmfact, {.f = -0.05} },
+ { MODKEY|ControlMask, XK_n, setmfact, {.f = +0.05} },
+ { MODKEY|ShiftMask, XK_h, zoom, {0} },
+ { MODKEY, XK_Tab, view, {0} },
+ { MODKEY, XK_w, killclient, {0} },
+ { MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[0]} },
+ { MODKEY|ShiftMask|ControlMask, XK_f, setlayout, {.v = &layouts[1]} },
+ { MODKEY, XK_f, setlayout, {.v = &layouts[2]} },
+// { MODKEY, XK_space, setlayout, {0} },
+ { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
+// { MODKEY, XK_0, view, {.ui = ~0 } },
+// { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
+// { MODKEY, XK_comma, focusmon, {.i = -1 } },
+// { MODKEY, XK_period, focusmon, {.i = +1 } },
+// { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
+// { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ TAGKEYS( XK_grave, 0)
+ TAGKEYS( XK_1, 1)
+ TAGKEYS( XK_2, 2)
+ TAGKEYS( XK_3, 3)
+ TAGKEYS( XK_4, 4)
+ TAGKEYS( XK_5, 5)
+ TAGKEYS( XK_6, 6)
+ TAGKEYS( XK_7, 7)
+ TAGKEYS( XK_8, 8)
+ TAGKEYS( XK_9, 9)
+ TAGKEYS( XK_0, 10)
+ TAGKEYS( XK_bracketleft, 11)
+ TAGKEYS( XK_bracketright, 12)
+ { MODKEY|ShiftMask, XK_q, quit, {0} },