|
|
|
@ -122,13 +122,12 @@ static Key keys[] = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* button definitions */
|
|
|
|
|
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
|
|
|
|
|
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkClientWin, or ClkRootWin */
|
|
|
|
|
static Button buttons[] = {
|
|
|
|
|
/* click event mask button function argument */
|
|
|
|
|
{ ClkLtSymbol, 0, Button1, cyclelayout, {.i = +1} },
|
|
|
|
|
{ ClkLtSymbol, 0, Button2, setlayout, {.v = &layouts[0]} },
|
|
|
|
|
{ ClkLtSymbol, 0, Button3, cyclelayout, {.i = -1} },
|
|
|
|
|
{ ClkWinTitle, 0, Button2, focusstack, {.i = +1} },
|
|
|
|
|
{ ClkStatusText, 0, Button1, sigdwmblocks, {.i = 1} },
|
|
|
|
|
{ ClkStatusText, 0, Button2, sigdwmblocks, {.i = 2} },
|
|
|
|
|
{ ClkStatusText, 0, Button3, sigdwmblocks, {.i = 3} },
|
|
|
|
|