История изменений
Исправление
Odalist,
(текущая версия)
:
какие горячие по дефолту?
static Key keys[] = {
64 /* modifier key function argument */
65 { MODKEY, XK_p, spawn, {.v = dmenucmd } },
66 { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
67 { MODKEY, XK_b, togglebar, {0} },
68 { MODKEY, XK_j, focusstack, {.i = +1 } },
69 { MODKEY, XK_k, focusstack, {.i = -1 } },
70 { MODKEY, XK_i, incnmaster, {.i = +1 } },
71 { MODKEY, XK_d, incnmaster, {.i = -1 } },
72 { MODKEY, XK_h, setmfact, {.f = -0.05} },
73 { MODKEY, XK_l, setmfact, {.f = +0.05} },
74 { MODKEY, XK_Return, zoom, {0} },
75 { MODKEY, XK_Tab, view, {0} },
76 { MODKEY|ShiftMask, XK_c, killclient, {0} },
77 { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
78 { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
79 { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
80 { MODKEY, XK_space, setlayout, {0} },
81 { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
82 { MODKEY, XK_0, view, {.ui = ~0 } },
83 { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
84 { MODKEY, XK_comma, focusmon, {.i = -1 } },
85 { MODKEY, XK_period, focusmon, {.i = +1 } },
86 { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
87 { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
88 TAGKEYS( XK_1, 0)
89 TAGKEYS( XK_2, 1)
90 TAGKEYS( XK_3, 2)
91 TAGKEYS( XK_4, 3)
92 TAGKEYS( XK_5, 4)
93 TAGKEYS( XK_6, 5)
94 TAGKEYS( XK_7, 6)
95 TAGKEYS( XK_8, 7)
96 TAGKEYS( XK_9, 8)
97 { MODKEY|ShiftMask, XK_q, quit, {0} },
98 };
Исходная версия
Odalist,
:
какие горячие по дефолту?
static Key keys[] = {
64 /* modifier key function argument */
65 { MODKEY, XK_p, spawn, {.v = dmenucmd } },
66 { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
67 { MODKEY, XK_b, togglebar, {0} },
68 { MODKEY, XK_j, focusstack, {.i = +1 } },
69 { MODKEY, XK_k, focusstack, {.i = -1 } },
70 { MODKEY, XK_i, incnmaster, {.i = +1 } },
71 { MODKEY, XK_d, incnmaster, {.i = -1 } },
72 { MODKEY, XK_h, setmfact, {.f = -0.05} },
73 { MODKEY, XK_l, setmfact, {.f = +0.05} },
74 { MODKEY, XK_Return, zoom, {0} },
75 { MODKEY, XK_Tab, view, {0} },
76 { MODKEY|ShiftMask, XK_c, killclient, {0} },
77 { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
78 { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
79 { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
80 { MODKEY, XK_space, setlayout, {0} },
81 { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
82 { MODKEY, XK_0, view, {.ui = ~0 } },
83 { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
84 { MODKEY, XK_comma, focusmon, {.i = -1 } },
85 { MODKEY, XK_period, focusmon, {.i = +1 } },
86 { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
87 { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
88 TAGKEYS( XK_1, 0)
89 TAGKEYS( XK_2, 1)
90 TAGKEYS( XK_3, 2)
91 TAGKEYS( XK_4, 3)
92 TAGKEYS( XK_5, 4)
93 TAGKEYS( XK_6, 5)
94 TAGKEYS( XK_7, 6)
95 TAGKEYS( XK_8, 7)
96 TAGKEYS( XK_9, 8)
97 { MODKEY|ShiftMask, XK_q, quit, {0} },
98 };