[xmonad] (sub)layout set up

Henrique G. Abreu hgabreu at gmail.com
Mon Feb 1 14:51:22 EST 2010


Thanks Quentin, I've got sublayout working with Adam's help at #xmonad.
I've noticed this "limitation" you said about tabbed being the outer
layout, but it's no big deal.
The feature I really missed was a way to auto-group some windows,
by matching them in the manageHook or something like X.L.ComboP does.

Henrique G. Abreu



On Mon, Feb 1, 2010 at 11:47, Quentin Moser <moserq at gmail.com> wrote:
> Hi,
>
> SubLayouts is probably closest to what you want. You can use a layout such as
>
>> subLayout [] row $ tall ||| Mirror tall ||| Full
>>   where row = Mirror $ Tall 0 0 0
>>         tall = Tall 1 (3/100) 0.5
>
> Basically, this will manage your windows according to the second
> layout (tall ||| ...), but allow you to put several windows together
> into a single "group", inside of which they will be placed according
> to the first layout (row).
>
> Something you can not do, however, is have a tabbed layout as your
> "main" layout, as in your example. The way XMonad.Layout.Decoration
> handles tabbing simply doesn't work when all your windows aren't
> stacked exactly on top of each other.
>
> Tabbing the windows inside a sub-group works, though, and SubLayout
> defines a "subTabbed" modifier precisely for that.
>
>
> On Wed, Jan 27, 2010 at 4:05 AM, Henrique G. Abreu <hgabreu at gmail.com> wrote:
>> Hi all,
>>
>> I want to set up a layout that treats two matched windows as one, like
>> always side-by-side.
>> I also want to be able to switch the "master" layout, like: Tall ..
>> ||| Mirror Tall .. ||| simpleTabbed
>> and keep this pair of windows always together side-by-side in this layouts.
>> Of course I will have other windows involved in this layouts and
>> that's the point.
>>
>> I've tried sublayout but I found it to hard to set.
>> Also tried ComboP combineTwoP, which comes close to what I want but
>> has sad limitations
>> like "reserving" the area to the 2nd layout and not being able to
>> switch the ruling layout.
>> Does it make sense or I'm wanting something too odd?
>>
>> Thanks,
>> Henrique G. Abreu
>> _______________________________________________
>> xmonad mailing list
>> xmonad at haskell.org
>> http://www.haskell.org/mailman/listinfo/xmonad
>>
>


More information about the xmonad mailing list