Re: [dwm] cpt alternative proposal

From: pancake <pancake_AT_youterm.com>
Date: Fri, 23 Nov 2007 12:56:26 +0100

On Fri, Nov 23, 2007 at 07:38:22AM +0100, Robert Figura wrote:
>
> pancake <pancake_AT_youterm.com> wrote:
> > I was thinking about the stacking feature of dwm-rfigura and cpt, and maybe
> > they can coexist, so, this way will make stack mode easier to use and flexible,
> > and will fix the problem of the hidden clients out of the cpt range.
>
> I'm not sure what feature you're referring to. The cpt idea appeals to
> me but until now i haven't tried to implement it myself.

My idea is to mix cpt and rfigura-stack patch in this way:

^w = clientspertag("^2")

  +-----+----+ +-----+----+ +-----+----+
  | | | | | | | | |
  | +----+ > ^w > | | | > ^w > | +----+
  | | | |_____|____| | | |
  +-----+----+ +----------+ +-----+----+

^e = clientspertag("^3")

  +-----+----+ +-----+----+ +-----+----+
  | |----| | | | | |----|
  | |----| > ^e > | +----+ > ^e > | |----|
  | |----| |_____|____| | |----|
  +-----+----+ +-----+----+ +-----+----+

This way non-visible windows are stacked in the bottom of the screen, so they
still being visible and you can focus them and zoom them as in any other mode.

So, the stacked clients remain on the tail of the clients list and you can
keep focus on the N clients you want with clientspertag.

> > I have not written any line of code yet. rfigura, what do you think about this?
> > It is much difficult to port it from dwm-rfigura to dwm? Are there much changes
> > on the source?
>
> There are many (unrelated) changes on the source which is the reason i
> stopped writing patches and moved on to fork dwm. If i'd grok what
> you're looking for i'd be happy to help backporting ideas.

Uhm, thats what I think.. its a bit hard to follow dwm -mainstream after these
latest versions patches...But I prefer to port patches than fork it. I like
to test forks to get ideas and so, but I like to work on the mainstream branch
and try to make the minimum number of changes to fit my needs.

I don't have much time these days..so, if you want porting the nmaster+stack
patch as a new mode for dwm (or just patch my nmaster-4.7.c) feel free to do it. :)

--pancake
Received on Fri Nov 23 2007 - 11:15:44 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:07:37 UTC