From afc3a2986b4dfeca13995cffd735fff018410199 Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Tue, 3 Oct 2023 23:17:42 +0800 Subject: [PATCH] Added mouse scroll to tag switching --- dwm-flexipatch/config.def.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index ba6b670..c34c0df 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -1456,6 +1456,10 @@ static const Button buttons[] = { #endif // DRAGMFACT_PATCH { ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} }, + #if SHIFTVIEW_PATCH + { ClkTagBar, 0, Button4, shiftview, { .i = -1 } }, + { ClkTagBar, 0, Button5, shiftview, { .i = +1 } }, + #endif // SHIFTVIEW_PATCH { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, #if TAB_PATCH