[xmonad] toggling struts in response to urgency

Adam Vogt vogt.adam at gmail.com
Sun Oct 4 22:20:52 EDT 2009

* On Sunday, October 04 2009, Joseph Garvin wrote:

>When a window marks itself as urgent, I'd like my struts to appear if
>they're not currently showing, but if they're already showing they
>should stay. Unfortunately, AvoidStruts only seems to support a
>ToggleStruts message. Is there a workaround?

You could reset the layout, and then toggle struts (if you default is no
gap). But then you loose your layout selection and state.

The other option is to edit the code for avoidStruts, and add a message
like setStruts.  I've wanted this feature at one point too.


More information about the xmonad mailing list