Updated Module: i3 (markdown)

Michael Carlberg 2016-12-05 14:01:45 +01:00
parent c4ff8701f1
commit 5580d862b4
1 changed files with 6 additions and 2 deletions

@ -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
~~~