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.

That said, the sh version of wmiirc still uses the old style, though
there is no /tagrules file any more.

Btw, you removed the standard colrules from the stock wmiirc.py.

-- 
Thomas Dahms

Reply via email to