diff --git a/Module:-i3.md b/Module:-i3.md index bcea319..4e95aec 100644 --- a/Module:-i3.md +++ b/Module:-i3.md @@ -7,10 +7,14 @@ This module uses the i3 ipc to display information about workspaces and active m You are able to define fallback click handlers for the whole bar window. Using those you could cycle your workspaces by scrolling anywhere on the bar (except existing areas setup for the same button). You should probably disable scrolling for the module (`enable-scroll = false`) if you are using this method. +The messages `i3wm-ws{prev,next}` are handled internally by the running i3 module and they will send the appropriate commands using the i3 ipc. You can replace it by any other command if you want a different behavior + ~~~ dosini [bar/mybar] -scroll-up = i3-msg workspace prev_on_output -scroll-down = i3-msg workspace next_on_output +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev +;scroll-up = i3-msg workspace next_on_output +;scroll-down = i3-msg workspace prev_on_output ~~~