On Thu, Dec 06, 2007 at 10:56:56AM +0000, Chris Webb wrote: > Sander van Dijk <[EMAIL PROTECTED]> writes: > > > On Dec 6, 2007 11:23 AM, Anselm R. Garbe <[EMAIL PROTECTED]> 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
