On 8/21/06, Capit Nicolas <capitn_AT_free.fr> wrote:
> Ok, effectively it is difficult when a rule is set...
Maybe you are trying to use rules in a way they aren't really
intended. Rules are used to define sort of a "static" client-tag
coupling. Hence, Rules are useful mainly if you _always_ want to apply
a certain (set of) tags to a new client. In your case that could mean
two things:
1. You don't want "Firefox.*" clients to always start with a specific
(set of) tags. In this case you should just get rid of the Rule.
2. You want "Firefox.*' clients to always have a specific (set of)
tags, but the Rule currently doesn't give it the right tags. If, for
instance, you _always_ want "Firefox.*" windows to be tagged with both
"net" and "work", you should change the "net" part of the Rule to
"net|work" (or maybe "net\|work", not sure which type of regex dwm
uses and I'm unfortunately not on a unix box to test right now).
Basically, you have to keep in mind that non-transient windows are not
directly related to each other as far as X is concerned. If for
instance you have a rule that tags new "Firefox.*" windows with "net",
you are currently looking at firefox in tag "work", and you click
File->New window, the new window will be tagged "net". To you (the
user) it may be obvious that this new window is offspring of the other
firefox window, but to X it isn't (it's just a new window).
Hope that helps you to achieve your wanted behaviour.
Greetings, Sander.
Received on Tue Aug 22 2006 - 09:23:43 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:18 UTC