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

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 6 Dec 2007 19:45:08 +0100

On Thu, Dec 06, 2007 at 10:56:56AM +0000, Chris Webb wrote:
> Sander van Dijk <a.h.vandijk_AT_gmail.com> writes:
>
> > On Dec 6, 2007 11:23 AM, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> > > Ok, but the DWMTAGS idea is ok for everyone?
> >
> > Would that work? If the new dwm is a child of the old one it would,
> > but when the dwm restart is controlled by a shell loop such as
> >
> > while true
> > do
> > dwm
> > done
> >
> > I believe this wouldn't work, right?
>
> If dwm were to produce the list of selected tags on stdout on exit and
> could accept a list of tags as arguments on startup, this would allow a
> 'restart by quit' without losing the selected tags and without requiring a
> special 'quit and exec' function.
>
> 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.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Thu Dec 06 2007 - 19:45:08 UTC

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