[xmonad] Avoid struts, but not by default!

Thomas Friedrich info at suud.de
Tue Sep 22 10:05:06 EDT 2009


Henrique G. Abreu wrote:
> 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
>>     


Well that was easy.  Really could have thought about this.  Thanks so much!!
Thomas


More information about the xmonad mailing list