Re: [dev][dwm] window tagging

From: Lorenzo Bolla <lbolla_AT_gmail.com>
Date: Tue, 12 Jan 2010 08:46:38 +0000

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.

On Tue, Jan 12, 2010 at 7:04 AM, Deepanjan Kesh <deepkesh_AT_gmail.com> wrote:

> Hi!
>
> I am new to dwm and maybe this question already has a wiki page, but
> since I didn't find anything, I would like the help of the community.
>
> I want to do the following - I want to open my uzbl or iceweasel
> browser in non-floating mode, but if I am visiting youtube.com, it
> should become floating. So, I tried the following in the rules section
> in config.h -
>
> { "Uzbl-core", NULL, "YouTube", 0, True, -1 },
> { "Iceweasel", NULL, "YouTube", 0, True, -1 }
>
> but it does not seem to work. Can anyone point out the problem?
>
> - Deepanjan
>
>
Received on Tue Jan 12 2010 - 08:46:38 UTC

This archive was generated by hypermail 2.2.0 : Tue Jan 12 2010 - 08:48:02 UTC