Re: [dwm] dwm wish, a tidy-up function

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Sat, 8 Dec 2007 20:16:16 +0100

Hi there,

I implemented a reapply() function which is bound to Mod1-r by
default in config.def.h. It unsets all tags of all clients and
performs an applyrules() on each client in the global client
list. Afterwards it calls arrange().

Let me know if the functionality is what you had in mind,
initially.

Regards,
        Anselm

On Thu, Dec 06, 2007 at 08:28:12PM +0100, Antoni Grzymala wrote:
> Anselm R. Garbe dixit (2007-12-06, 19:45):
>
> > > Also, if the point of a restart is just to retag windows according
> > > to the rules, wouldn't it be cleaner to implement just that rather
> > > than a full re-exec?
> >
> > I agree on the idea to have a re-apply function, which applies all
> > tagging rules during runtime to all windows, without restarting dwm.
> > That seems to be the change which sucks less and without any
> > cornercases.
>
> I agree and I think that's the way we go (yeah, right, we, I didn't ever
> contribute a single line of code). I think this function should also
> reset the currently viewed tag to the default value of seltags, which
> would be orthogonal (in a user's view) to reapplying the rules (say:
> opera is *out* of my view by default).
>
> Regards,
>
> --
> [a]

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Sat Dec 08 2007 - 20:16:16 UTC

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