[xmonad] Avoid struts, but not by default!

Henrique G. Abreu hgabreu at gmail.com
Tue Sep 22 08:06:58 EDT 2009


I think you could use avoidStrutsOn with empty brackets. Like this:
myLayout = avoidStrutsOn [] $ ...
Then you docks will start hidden by default and ToggleStruts will show them.

Regards,
Henrique G. Abreu


On Mon, Sep 21, 2009 at 20:15, Thomas Friedrich <info at suud.de> wrote:

> Hi everybody,
>
> I am using avoidStruts from XMonad.Hooks.ManageDocks to toggle between
> the dock gaps, so I have something like
>
> myLayout = avoidStruts $ ...
>
> in my xmonad.hs.  Now, I only have the tiniest panel ever which only
> consists of a clock and the icon of the nm-applet.  I would prefer if
> xmonad would cover up the docks by default, and only when I'd like to
> check the time or like to have a look at the Internet connection, to
> toggle the gap to appear.
>
> Is there any neat and straight forward way to do so?
>
> Thanks so much in advance!
>
> Cheers,
> Thomas
>
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20090922/cdf786f1/attachment-0001.html


More information about the xmonad mailing list