Updated Module: bspwm (markdown)

Michael Carlberg 2016-12-05 14:01:34 +01:00
parent ea836eb5b7
commit c4ff8701f1
1 changed files with 7 additions and 3 deletions

@ -3,14 +3,18 @@ This module uses the bspwm ipc client to display information about available mon
See the [Configuration wiki page](https://github.com/jaagr/polybar/wiki/Configuration#global-wm-settings) for details on how to configure the `_NET_WM_STRUT_PARTIAL` values. This will allow you to update `padding_{top,bottom}` when the bar is launched.
### Accesible desktop cycling
### Accesible workspace cycling
You are able to define fallback click handlers for the whole bar window. Using those you could cycle your desktops 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 `bspwm-desk{prev,next}` are handled internally by the running bspwm module and they will send the appropriate commands using the bspwm ipc. You can replace it by any other command if you want a different behavior
~~~ dosini
[bar/mybar]
scroll-up = bspc desktop -f prev.local
scroll-down = bspc desktop -f next.local
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
;scroll-up = bspc desktop -f prev.local
;scroll-down = bspc desktop -f next.local
~~~