I want this for composing messages in thunderbird only, not for other
situations where new windows are created.
But I'm not complaining. I'll see if I can extend your suggestion to do
what I need. You gave me the pointer to the event loop, that should be
good enough.
Kai
Suraj N. Kurapati wrote:
> Kai Grossjohann wrote:
> >> I've got a mail view which has one column with Thunderbird in it. When
> >> I hit a key in Thunderbird that causes a compose window to pop up, I
> >> would like to split the view into two columns, with the right hand
> >> column containing the compose window.
> >>
> >> Is it possible to make this happen automatically?
>
> Add the following code to the event loop:
>
> when 'CreateClient'
> WM.applyTilingLayout if
> WM.read("/client/#{arg}/tags").split('+').include? WM.read('/view/name')
>
> It simply applies the tiling layout whenever a new client is created
> on the current view. Also, it seems this makes tiling layout as the
> default for client arrangement.
>
> >> I use snk_wmiirc, in case that's relevant.
>
> I have uploaded this change into the snk_wmiirc.tgz my website also.
>
> Cheers.
>
> _______________________________________________
> wmii_AT_wmii.de mailing list
> http://wmii.de/cgi-bin/mailman/listinfo/wmii
>
Received on Tue Aug 08 2006 - 19:34:14 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:12:07 UTC