Re: [wmii] Frob columns when window appears?

From: Suraj N. Kurapati <skurapat_AT_ucsc.edu>
Date: Tue, 08 Aug 2006 12:37:24 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Suraj N. Kurapati wrote:
> Kai Grossjohann wrote:
>>> I want this for composing messages in thunderbird only, not for other
>>> situations where new windows are created.
>
> Append the following to the condition of the if-statement.
>
> && WM.read("/client/#{arg}/class") =~ /thunderbird/

Err, small correction. The entire if-statement should be:

WM.applyTilingLayout if
WM.read("/client/#{arg}/tags").split('+').include?(WM.read('/view/name'))
&& WM.read("/client/#{arg}/class") =~ /thunderbird/

The problem is precedence for argument of include? method.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFE2Of0mV9O7RYnKMcRAhreAJ9EpXXWeQGTXQlJ5rwbKYt+ywxQPgCdGJXl
FyZmgw/vaSjRAKh/iJ6BZ48=
=fvQe
-----END PGP SIGNATURE-----
Received on Tue Aug 08 2006 - 21:38:06 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:12:09 UTC