Re: [dev] [wmii] Firefox new windows

From: Suraj Kurapati <sunaku_AT_gmail.com>
Date: Mon, 23 Nov 2009 10:54:03 -0800

On Mon, Nov 23, 2009 at 9:57 AM, Joseph Xu <josephzxu_AT_gmail.com> wrote:
> On Mon, Nov 23, 2009 at 09:11:50AM -0800, Suraj Kurapati wrote:
>> On Mon, Nov 23, 2009 at 8:58 AM, Yannic Haupenthal
>> > you might use
>> >
>> >        /Firefox.*/ -> sel # and/or
>> >        /Shiretoko.*/ -> sel
>> >
>> > in your tagrules.
>>
>> Awesome!  This is the best solution. :-)
>> Please disregard my other email in this thread.
>
> This doesn't seem to be working for me. Here's my tagrules:
>
> $ wmiir read /tagrules
> /Shiretoko.*/ -> sel

Sorry, I didn't actually try Yannic's suggestion; I just assumed it
worked. Oh well, back to the drawing board.

I solved this problem in my Ruby wmiirc by watching for the
ClientCreate event and forcing the new window onto the current view by
writing the value of the current tag to that new window's
/client/.../tags file.

Hope that helps.
Received on Mon Nov 23 2009 - 18:54:03 UTC

This archive was generated by hypermail 2.2.0 : Mon Nov 23 2009 - 19:00:02 UTC