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.s...@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.
>
>

Reply via email to