Re: [dev] [dwm] [surf] Classes for surf?

From: Rob <robpilling_AT_gmail.com>
Date: Tue, 8 Dec 2009 16:59:48 +0000

What does the output of
xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ {
printf("%s\n",$2) }'
give you?

It should give the class, instance and title, in that order.

Also, class and instance names are case sensitive, I think.

2009/12/8 Sandra Snan <sandra.snan_AT_handgranat.org>

> xprop seems to think that the class name is "surf", but here are my dwm
> rules:
> static Rule rules[] = {
> /* class instance title tags mask isfloating */
> { "Iceweasel", NULL, NULL, 8, False },
> { "surf", NULL, NULL, 8, False },
> { "Emacs", NULL, NULL, 4, False },
> { "Totem", NULL, NULL, 32, False},
> { "Tasks", NULL, NULL, 64, False},
> };
>
> New Iceweasel windows show up having the fourth tag from the left
> regardless of which tags were visible when I first launched it (I
> often have many tags visible), but new surf windows just have the tags
> that were visible, seemingly ignoring these rules. What am I doing
> wrong?
> All the other ones work.
>
>
Received on Tue Dec 08 2009 - 16:59:48 UTC

This archive was generated by hypermail 2.2.0 : Tue Dec 08 2009 - 17:12:01 UTC