Mouse scrolling for dwmblocks

This commit is contained in:
Alexis Jhon Gaspar 2023-09-19 18:27:59 +08:00
parent b37edcb094
commit d7be91503d

View file

@ -906,7 +906,7 @@ static const Key keys[] = {
/* spmenu scripts down here */
{ Mod4Mask, XK_v, spawn, SHCMD("clipmenu-spmenu") },
{ Mod4Mask, XK_Print, spawn, SHCMD("screenshot-spmenu -f") },
{ Mod4Mask|Mod1Mask, XK_Print, spawn, SHCMD("screenshot-spmenu -s") },
{ Mod4Mask|ShiftMask, XK_Print, spawn, SHCMD("screenshot-spmenu -s") },
{ Mod4Mask, XK_p, spawn, SHCMD("pirokit") },
{ Mod4Mask|ShiftMask, XK_w, spawn, SHCMD("wallpaper-spmenu") },
/* end of spmenu keybinds */
@ -1375,6 +1375,9 @@ static const Button buttons[] = {
{ ClkStatusText, 0, Button1, sigstatusbar, {.i = 1 } },
{ ClkStatusText, 0, Button2, sigstatusbar, {.i = 2 } },
{ ClkStatusText, 0, Button3, sigstatusbar, {.i = 3 } },
{ ClkStatusText, 0, Button4, sigstatusbar, {.i = 4 } },
{ ClkStatusText, 0, Button5, sigstatusbar, {.i = 5 } },
{ ClkStatusText, 0, Button6, sigstatusbar, {.i = 6 } },
#elif BAR_STATUSCMD_PATCH
{ ClkStatusText, 0, Button1, spawn, {.v = statuscmd } },
{ ClkStatusText, 0, Button2, spawn, {.v = statuscmd } },