Re: [wmii] snap: 20060309

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Fri, 10 Mar 2006 11:05:18 +0100

On Thu, Mar 09, 2006 at 11:37:52PM +0100, Anselm R. Garbe wrote:
> On Thu, Mar 09, 2006 at 04:39:48PM +0100, Uriel wrote:
> > Anyway, this is just a rough idea, probably will need many iterations
> > of polishing, we should probably start with the simplest form of
> > /foo:bar*/ -> tag list
> > (without tag-qualifiers) and then extend the language as we find need
> > more fine grained expressions.
>
> This might be ok, if it is done in a very basic way.

After doing some research of awk code in this area and trying
out the /event based approach I must admit that I was wrong
somewhat. At least the /event based approach is pretty slow,
because for each window you would at least run a wmiir process
which connects to wmiifs, this costs time apart from fork() and
reduces the window appearance throughput noticable (maybe it is
a good thing, dunno).

Anyway, I came to the conclusion, that I'd be fine with a
basic approach which pretty much the like above starting point.
But I don't think that we need regexp handling, globbing should
work also for all other properties which might be of interest
later (though only geometry, class:instance, name, group (maybe)
and client machine(maybe).

/property match/ -> tag(s)

Dunno if +/- operators might be of use later..., we can think
about them, if they might be of any use.

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Fri Mar 10 2006 - 11:05:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:00:58 UTC