Re: [dwm] [patch] togglemax() on tiled windows (for dwm.c)

From: pancake <pancake_AT_youterm.com>
Date: Mon, 17 Sep 2007 18:20:48 +0200

On Mon, Sep 17, 2007 at 04:26:00PM +0200, Peter Hartlich wrote:
> By the way, any chance to see this integrated into mainstream dwm?
> It feels quite similar to the recent "float on mod + mouse" changes.

Does anybody has tried my 'clients per tag' (cpt) patch?

It implements this and supports more extensibility like limiting
the view to 1, 2 or 3 clients. Swapping between N and all clients, etc..

And it's just much simpler.

Well it have some problems, like when you zoom a window not in the
first position, because what it does is to limit the number of clients
per tag.

For me this is far more useful than being limited to a single feature,
much more simpler.

My keybinings are:

  { MODKEY|ShiftMask, XK_q, zoom, NULL }, \
  { MODKEY|ShiftMask, XK_q, clientspertag, "^1" }, \
  { MODKEY, XK_q, clientspertag, "^1" }, \

OT: About the zooming I use:

 { MODKEY, XK_Return, togglemax, NULL }, \
 { MODKEY, XK_Return, zoom, NULL }, \

I find quite stupid to dup this functionality on a single keybinding.
This was fine on an older version, but can't any logical reason to split
these two functionalities in different functions. BTW maybe i need to
refer to the archives..

Another patch I find really useful is the use of buttons 1 in title bar
to zoom , click 3 to close client and wheel(4,5) to switch between clients.
(I would really love to have this in mainstream), and i think that the
rest of mouse-friends users of dwm will too. ;)

FMI: http://news.nopcode.org/miau/pvc.cgi?prj=dwm

--pancake
Received on Mon Sep 17 2007 - 16:39:28 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:53:33 UTC