[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Flipping heads in group to groups in head!
From: |
Mehul Sanghvi |
Subject: |
Re: [STUMP] Flipping heads in group to groups in head! |
Date: |
Thu, 19 May 2011 09:47:44 -0400 |
On Sat, May 14, 2011 at 04:17, Mikael Jansson <address@hidden> wrote:
> On 05/14/2011 04:31 AM, Mehul Sanghvi wrote:
>> On Fri, May 13, 2011 at 07:37, Mikael Jansson <address@hidden> wrote:
>>> Heya,
>>>
>>> I want to keep a group visible on one of my monitor at all times and just
>>> change the group of my main screen. Typically the always-visible-group is
>>> for IRC, documentation and similar.
>>>
>>> The way StumpWM works right now is to keep all heads and associated frames
>>> per group. What I suggest is to flip it around, such that each head has a
>>> list of groups, independent of each other.
>>>
>>> Say you have a 3-head setup with the groups
>>>
>>> h1:h1g1 h2:h2g1 h3:h3g1
>>>
>>> where hNgM is head N's group M. Initially, groups couldn't be moved between
>>> heads, although that would probably be easy to add support for.
>>>
>>> So: When any frame on h1 has focus and you do 'gselect 3', the new layout
>>> will be
>>>
>>> h1:h1g3 h2:h2g1 h3:h3g1
>>>
>>> This is a super-set of the current behaviour, which could be emulated by
>>> gluing heads together so gselect would change groups on all heads glued
>>> together with the current. Say you have h2 and h3 glued together and then
>>> issue gselect 4. You'll get
>>>
>>> h1:h1g3 h2:h2g4 h3:h3g4
>>>
>>> with h1's group still at 3 after the previous command.
>>>
>>> Comments?
>>>
>>
>>
>> What would be needed to get this support into StumpWM ?
>> As far as I understand it its not possible to get it done in stumpwm.
>>
>
> It would require changes more or less everywhere.
>
> I sent out the idea to get feedback on whether the design is sound or not.
>
> -- Mikael
>
There is a window manager called Musca which was derived from
ratpoision and dwm.
It has support for groups for each head, dynamically creating a group
for each head.
I've not used the window manager, just read about it, but might be
worth looking at for
the dynamic grouping related code.
Just a thought.
--
Mehul N. Sanghvi
email: address@hidden
Re: [STUMP] Flipping heads in group to groups in head!, Michael Raskin, 2011/05/19
Re: [STUMP] Flipping heads in group to groups in head!, Michael Raskin, 2011/05/24