Re: [dev][dwm] window tagging

From: yy <yiyu.jgl_AT_gmail.com>
Date: Tue, 12 Jan 2010 09:54:01 +0100

2010/1/12 Lorenzo Bolla <lbolla_AT_gmail.com>:
> open your browser to youtube; then use xprop to get WM_CLASS and WM_NAME for
> that window:
> $> xprop | grep -e "WM_CLASS(STRING)" -e "WM_NAME(STRING)"
> in config.h put:
> { <value of WM_CLASS>,  NULL,  <value of WM_NAME>,   0,  True,  -1 },
> hth,
> L.
>

That won't work neither. The problem is the rules are applied when the
window is managed, but the title of the window won't change until you
reach youtube (after it has been managed by dwm). You could define a
reapplyrules() function to apply rules again to the current window,
but you would have to call it manually - with a key or something -
and, at that point, it would probably be easier to simply make the
window floating.

-- 
- yiyus || JGL . 4l77.com
Received on Tue Jan 12 2010 - 08:54:01 UTC

This archive was generated by hypermail 2.2.0 : Tue Jan 12 2010 - 09:00:03 UTC