On Fri, Jun 04, 2010 at 09:24:18AM +0200, Thomas Dahms wrote:
>Hi,
>
>I thought it is worth mentioning how tagrules in the new /rules file work.
>
>I found the following to work (in Python):
>wmii.rules = (
> (ur'MPlayer|VLC', dict(floating=True)),
> (ur'Firefox|Conkeror|Opera|Thunderbird|Shredder', \
> dict(tags='netz')),
> (ur'Emacs|Evince|Adobe Reader', dict(tags='sel')),
>)
>
>which just writes something like
>/Emacs|Evince|Adobe Reader/ tags=sel
>to /rules, for example.
It's also explained in the man page.
>That said, the sh version of wmiirc still uses the old style, though
>there is no /tagrules file any more.
Sorry, I haven't gotten to that yet.
>Btw, you removed the standard colrules from the stock wmiirc.py.
This is true. The new rules class doesn't work with that format. I'm
going to migrate /colrules to the same format once I decide how they
should work.
-- Kris Maglione Intellectual laziness is punishable by brain death. It is a natural law. --Eric NaggumReceived on Fri Jun 04 2010 - 17:33:44 UTC
This archive was generated by hypermail 2.2.0 : Fri Jun 04 2010 - 17:36:02 UTC