What I do is match the Title instead:
withIM (1%7) skype (LG.Grid False) where
  skype = Title "<yourUsername> - Skype™ (Beta)" `Or` Title "Skype™ 2.1 (Beta) for Linux"

Regards,
Henrique G. Abreu
ps: sorry, I forgot to reply to the list the 1st time.

On Tue, Jun 1, 2010 at 11:00, Nathan Huesken <xmonad@lonely-star.org> wrote:
Hi,

I am using the IM layout for skype. The problem is, that the chat
windows tend to get into the area for the contacts window.

I use the layout like this:


withIM (1%7) (ClassName "Skype") (LG.Grid False)

But both the contacts window, as well as the chat windows have the same
class name:

WM_CLASS(STRING) = "skype", "Skype"

What can I do?

Thanks!
Nathn
_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad