|
|
@ -48,43 +48,43 @@ Key keys[] = {
|
|
|
|
{ MODKEY|ShiftMask, XK_c, killclient, NULL },
|
|
|
|
{ MODKEY|ShiftMask, XK_c, killclient, NULL },
|
|
|
|
{ MODKEY, XK_space, togglelayout, NULL },
|
|
|
|
{ MODKEY, XK_space, togglelayout, NULL },
|
|
|
|
{ MODKEY|ShiftMask, XK_space, togglefloating, NULL },
|
|
|
|
{ MODKEY|ShiftMask, XK_space, togglefloating, NULL },
|
|
|
|
{ MODKEY, XK_0, view, (int[]){ ~0 } },
|
|
|
|
{ MODKEY, XK_0, view, (uint[]){ ~0 } },
|
|
|
|
{ MODKEY, XK_1, view, (int[]){ 1 << 0 } },
|
|
|
|
{ MODKEY, XK_1, view, (uint[]){ 1 << 0 } },
|
|
|
|
{ MODKEY, XK_2, view, (int[]){ 1 << 1 } },
|
|
|
|
{ MODKEY, XK_2, view, (uint[]){ 1 << 1 } },
|
|
|
|
{ MODKEY, XK_3, view, (int[]){ 1 << 2 } },
|
|
|
|
{ MODKEY, XK_3, view, (uint[]){ 1 << 2 } },
|
|
|
|
{ MODKEY, XK_4, view, (int[]){ 1 << 3 } },
|
|
|
|
{ MODKEY, XK_4, view, (uint[]){ 1 << 3 } },
|
|
|
|
{ MODKEY, XK_5, view, (int[]){ 1 << 4 } },
|
|
|
|
{ MODKEY, XK_5, view, (uint[]){ 1 << 4 } },
|
|
|
|
{ MODKEY, XK_6, view, (int[]){ 1 << 5 } },
|
|
|
|
{ MODKEY, XK_6, view, (uint[]){ 1 << 5 } },
|
|
|
|
{ MODKEY, XK_7, view, (int[]){ 1 << 6 } },
|
|
|
|
{ MODKEY, XK_7, view, (uint[]){ 1 << 6 } },
|
|
|
|
{ MODKEY, XK_8, view, (int[]){ 1 << 7 } },
|
|
|
|
{ MODKEY, XK_8, view, (uint[]){ 1 << 7 } },
|
|
|
|
{ MODKEY, XK_9, view, (int[]){ 1 << 8 } },
|
|
|
|
{ MODKEY, XK_9, view, (uint[]){ 1 << 8 } },
|
|
|
|
{ MODKEY|ControlMask, XK_1, toggleview, (int[]){ 1 << 0 } },
|
|
|
|
{ MODKEY|ControlMask, XK_1, toggleview, (uint[]){ 1 << 0 } },
|
|
|
|
{ MODKEY|ControlMask, XK_2, toggleview, (int[]){ 1 << 1 } },
|
|
|
|
{ MODKEY|ControlMask, XK_2, toggleview, (uint[]){ 1 << 1 } },
|
|
|
|
{ MODKEY|ControlMask, XK_3, toggleview, (int[]){ 1 << 2 } },
|
|
|
|
{ MODKEY|ControlMask, XK_3, toggleview, (uint[]){ 1 << 2 } },
|
|
|
|
{ MODKEY|ControlMask, XK_4, toggleview, (int[]){ 1 << 3 } },
|
|
|
|
{ MODKEY|ControlMask, XK_4, toggleview, (uint[]){ 1 << 3 } },
|
|
|
|
{ MODKEY|ControlMask, XK_5, toggleview, (int[]){ 1 << 4 } },
|
|
|
|
{ MODKEY|ControlMask, XK_5, toggleview, (uint[]){ 1 << 4 } },
|
|
|
|
{ MODKEY|ControlMask, XK_6, toggleview, (int[]){ 1 << 5 } },
|
|
|
|
{ MODKEY|ControlMask, XK_6, toggleview, (uint[]){ 1 << 5 } },
|
|
|
|
{ MODKEY|ControlMask, XK_7, toggleview, (int[]){ 1 << 6 } },
|
|
|
|
{ MODKEY|ControlMask, XK_7, toggleview, (uint[]){ 1 << 6 } },
|
|
|
|
{ MODKEY|ControlMask, XK_8, toggleview, (int[]){ 1 << 7 } },
|
|
|
|
{ MODKEY|ControlMask, XK_8, toggleview, (uint[]){ 1 << 7 } },
|
|
|
|
{ MODKEY|ControlMask, XK_9, toggleview, (int[]){ 1 << 8 } },
|
|
|
|
{ MODKEY|ControlMask, XK_9, toggleview, (uint[]){ 1 << 8 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_0, tag, (int[]){ ~0 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_0, tag, (uint[]){ ~0 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_1, tag, (int[]){ 1 << 0 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_1, tag, (uint[]){ 1 << 0 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_2, tag, (int[]){ 1 << 1 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_2, tag, (uint[]){ 1 << 1 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_3, tag, (int[]){ 1 << 2 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_3, tag, (uint[]){ 1 << 2 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_4, tag, (int[]){ 1 << 3 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_4, tag, (uint[]){ 1 << 3 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_5, tag, (int[]){ 1 << 4 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_5, tag, (uint[]){ 1 << 4 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_6, tag, (int[]){ 1 << 5 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_6, tag, (uint[]){ 1 << 5 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_7, tag, (int[]){ 1 << 6 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_7, tag, (uint[]){ 1 << 6 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_8, tag, (int[]){ 1 << 7 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_8, tag, (uint[]){ 1 << 7 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_9, tag, (int[]){ 1 << 8 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_9, tag, (uint[]){ 1 << 8 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_1, toggletag, (int[]){ 1 << 0 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_1, toggletag, (uint[]){ 1 << 0 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_2, toggletag, (int[]){ 1 << 1 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_2, toggletag, (uint[]){ 1 << 1 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_3, toggletag, (int[]){ 1 << 2 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_3, toggletag, (uint[]){ 1 << 2 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_4, toggletag, (int[]){ 1 << 3 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_4, toggletag, (uint[]){ 1 << 3 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_5, toggletag, (int[]){ 1 << 4 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_5, toggletag, (uint[]){ 1 << 4 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_6, toggletag, (int[]){ 1 << 5 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_6, toggletag, (uint[]){ 1 << 5 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_7, toggletag, (int[]){ 1 << 6 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_7, toggletag, (uint[]){ 1 << 6 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_8, toggletag, (int[]){ 1 << 7 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_8, toggletag, (uint[]){ 1 << 7 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, (int[]){ 1 << 8 } },
|
|
|
|
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, (uint[]){ 1 << 8 } },
|
|
|
|
{ MODKEY|ShiftMask, XK_q, quit, NULL },
|
|
|
|
{ MODKEY|ShiftMask, XK_q, quit, NULL },
|
|
|
|
};
|
|
|
|
};
|
|
|
|