Updated Module: i3 (markdown)

Patrick Ziegler 2019-11-14 22:05:14 +01:00
parent b84d7cea61
commit fd8fe097c7
1 changed files with 3 additions and 3 deletions

@ -6,12 +6,12 @@ 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. 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 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.
**Note:** You will need to have an i3 module in your bar for this to work.
~~~ dosini ~~~ dosini
[bar/mybar] [bar/mybar]
; To display the i3 workspace or to change it with the mouse
modules-left = i3
scroll-up = i3wm-wsnext scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev scroll-down = i3wm-wsprev
;scroll-up = i3-msg workspace next_on_output ;scroll-up = i3-msg workspace next_on_output