[xmonad] dzen bar not visible with the Minimize module

Francesco Mazzoli e.imhotep at gmail.com
Wed Feb 10 13:34:17 EST 2010


Ohh right, I always think about xmonad.hs as "static" configuration
files and I don't even think about these things.

Anyway, thanks a lot I've got it now.

On 10 February 2010 17:48,  <wagnerdm at seas.upenn.edu> wrote:
> Each layout (and layout modifier) can specify its own string. Maybe the
> easiest way to find out what the right string to add is to add a catch-all
> case; this will also help you in the future when you forget about this
> problem. =)
>
> It would look something like
>
> (\x -> case {- can't remember what went here -} of
>        "Tabbed" -> ...
>        ...      -> ...
>        s        -> "Unexpected layout <" ++ s ++ ">"
> )
>
> Good luck!
> ~d
>
> Quoting Francesco Mazzoli <e.imhotep at gmail.com>:
>
>> Thanks for the answer!
>>
>> I don't think I really understand how this work. Does minimize its own
>> layout, or is it a modification of the others?
>>
>> I tried both way adding a "Minimize" and "minimize" case, and
>> modifying the existing layouts adding minimize to them, but it didn't
>> work.
>>
>> What am I doing wrong?
>>
>> Francesco
>> On 10 February 2010 02:59,  <wagnerdm at seas.upenn.edu> wrote:
>>>
>>> Your pretty-printer is almost certainly throwing an exception in the case
>>> statement.  Be sure to add a case for your minimized layout!
>>> ~d
>>>
>>> Quoting Francesco Mazzoli <e.imhotep at gmail.com>:
>>>
>>>> Hi,
>>>> I have got a problem with the Minimize module and I can't find a
>>>> solution.
>>>>
>>>> When I try to use it using the example code provided in the module
>>>> page, one of my two dzen bars disappear.
>>>> This is my desktop without the Minimize module:
>>>> http://i50.tinypic.com/2d6w9d3.png
>>>>
>>>> and that's what happen when I activate it:
>>>> http://i46.tinypic.com/34e9vth.png
>>>>
>>>> Here is my configuration file:
>>>> http://hpaste.org/fastcgi/hpaste.fcgi/view?id=17112#a17112
>>>>
>>>> The only line of code that I change is this:
>>>> layoutHook = smartBorders $ avoidStruts (Full ||| tiled  ||| Mirror
>>>> tiled)
>>>> to that:
>>>> layoutHook = smartBorders $ avoidStruts $ minimize (Full ||| tiled
>>>> ||| Mirror tiled)
>>>>
>>>> As you can see I have already hasked in the archlinux forum and in the
>>>> xmonad irc channel, but no one seems to have a solution.
>>>>
>>>> I absolutely adore xmonad and this module would make it even better!
>>>> _______________________________________________
>>>> xmonad mailing list
>>>> xmonad at haskell.org
>>>> http://www.haskell.org/mailman/listinfo/xmonad
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> xmonad mailing list
>>> xmonad at haskell.org
>>> http://www.haskell.org/mailman/listinfo/xmonad
>>>
>>
>>
>
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad
>


More information about the xmonad mailing list