On Thu, Jan 21, 2010 at 05:30:17PM -0200, Renato Botelho wrote: > On Thu, Jan 21, 2010 at 4:56 PM, Christian Cikryt > <[email protected]> wrote: > > Hi, > > > > Am Thu, 21 Jan 2010 15:30:25 -0200 > > schrieb Renato Botelho <[email protected]>: > > > >> I have following rule: > >> > >> { rule = { class = "claws-mail" }, > >> properties = { tag = tags[1][3] } }, > >> > >> ... > >> > >> Using xprop i can confirm class of window > >> > >> WM_CLASS(STRING) = "claws-mail", "Claws-mail" > >> > > > > The second output string from xprop tells you the client's actual class. > > So try: > > > > { rule = { class = "Claws-mail" }, > > properties = { tag = tags[1][3] } }, > > I've already have it here: > > { rule = { class = "claws-mail" }, > properties = { tag = tags[1][3] } }, > { rule = { class = "Claws-mail" }, > properties = { tag = tags[1][3] } },
Use "Claws%-mail" as the class. The strings are regular expressions
which are matched against the actual client properties, thus the - is
interpreted as a "from ... to ..." range indicator.
--
GCS/IT/M d- s+:- a-- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- ?O M-- ?V PS++ PE- Y++ PGP+++ t+ 5 X+ R tv b+++ DI+++
D+++ G+ e h! r y+
Gregor Best
pgp3L8s6Ecag0.pgp
Description: PGP signature
