Re: [wmii] [ANN] New snap: wmii+ixp-20080123

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat, 26 Jan 2008 18:45:40 -0500

On Sun, Jan 27, 2008 at 12:32:44AM +0100, Frank Blendinger wrote:
>Sorry if that's a stupid question or has been asked before, but can that
>be automated somehow, to set up a rule to put everything that matches,
>lets say, "jpg", on the right column?

Not easily. I intend to implement a more powerful rules system
in the future, though.

You can, however, script it (this is, as usual, untested):

fn Event-CreateClient {
        if(wmiir read /client/$1/props | grep -is jpg)
                wmiir write /tag/gimp/ctl send client $1 2 >[2]/dev/null
}

-- 
Kris Maglione
If several things that could have gone wrong have not
gone wrong, it would have been ultimately beneficial
for them to have gone wrong.

Received on Sun Jan 27 2008 - 00:45:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:35:05 UTC