[xmonad] The IM layout and skype

Audun Skaugen audunskaugen at gmail.com
Thu Jun 3 16:33:35 EDT 2010


You could use WM_WINDOW_ROLE, if skype defines that.

På Thu, 03 Jun 2010 16:38:56 +0200, skrev Nathan Huesken  
<xmonad at lonely-star.org>:

> Hi,
>
> I tried that, I copied the WM_NAME(COMPOUND_TEXT) string from the xprop
> output.
> But it does not work. Maybe something is wrong with the "™" symbol, but
> it is displayed correclty in vim. Can I somehow just test if the title
> contains my username?
>
> Thanks!
> nathan
>
> On Tue, 1 Jun 2010 11:16:12 -0300
> "Henrique G. Abreu" <hgabreu at gmail.com> wrote:
>
>> 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 at 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 at haskell.org
>> > http://www.haskell.org/mailman/listinfo/xmonad
>> >
>
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad


-- 
Audun Skaugen


More information about the xmonad mailing list