Re: [dwm] new feature proposal: cycle through specific windows

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri, 21 Dec 2007 21:22:43 +0100

On Fri, Dec 21, 2007 at 08:36:36PM +0100, Engin Tola wrote:
> "Anselm R. Garbe" <arg_AT_suckless.org> writes:
>
> > On Thu, Dec 20, 2007 at 02:22:47AM +0100, Engin Tola wrote:
> >> Ritesh Kumar <ritesh_AT_cs.unc.edu> writes:
> >>
> >> > On Dec 19, 2007 2:29 AM, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> >> >
> >> >> On Wed, Dec 19, 2007 at 12:15:19AM +0100, Engin Tola wrote:
> >> >> >
> >> >> > I was thinking of a new feature to dwm where one can cycle through a
> >> >> > specific kind of window; like within open terminals only or like within
> >> >> > open emacs windows..
> >> >> >
> >> >> > I generally want to switch between xterms or open emacs windows without
> >> >> > cycling through all the different open windows.
> >> >> >
> >> >> > does anybody else think this as a useful feature ?
> >> >>
> >> >> See how tagging is intended to be used. To me it sounds exactly
> >> >> like what you propose as a feature.
> >> >>
> >> >> Regards,
> >> >>
> >> >
> >> > I think Engin is asking about cycling between windows tagged with the same
> >> > tag when viewing a number of tags together... i.e. without changing which
> >> > tags are currently being viewed.
> >>
> >> exactly.
> >
> > Hmm, so you will need to check the tags of the currently
> > selected window, and look for the next window with the same tags
> > in the global client list. This doesn't sound very complicated.
> > I could imagine one could do bind this to Mod-Shift-{j,k} to
> > have a correlation to the default focus{prev,next} functions.
> >
> > Do you agree?
>
> focus{prev,next} does not move the focused window to the master area. I
> was thinking of moving the selected one to the master area like the
> functionality of alttab patch I sent earlier but only for the default
> tag of the current master window: the clients will cycle ( cw or ccw )
> within the active tag's client list if one displays more than one tags.

Honestly, I won't perform any zoom() call at the level of a
focus function, simply because to keep each function more
atomic, thus more flexible. If you really want to zoom() a
client after a specific focussing operation, clone the
keybinding in config.h, see my last mail how to do it.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Fri Dec 21 2007 - 21:22:44 UTC

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