[wmii] rules in a separate file

From: <neptun_AT_gmail.com>
Date: Tue, 25 Apr 2006 03:11:51 +0000

I've decided to keep my rules in a separate file from wmiirc.
I've modified the "TAGGING RULES" section in wmiirc like this:

        # TAGGING RULES
        wmiir write /def/rules<$HOME/.wmii-3/rules

and put all the rules in ~/.wmii-3/rules

This allows me to edit the rules on-the-fly.
I've created a new action (~/.wmii-3/ed-rules) for this:

        #!/bin/bash
        frules=$HOME/.wmii-3/rules
        aterm -e vim $frules
        wmiir write /def/rules<$frules

So now all I have to do is press Mod-A, start ed-rules and edit that
file. When I'm finished the new rules are automatically applied.

I know I could have done the same from within wmiirc and then running
it again.. but I like this way better.. It's cleaner.

Regards,
Neptun

----
<<Brescan Florin>> <<Neptun>> <<www.flo.haos.ro>>
Received on Tue Apr 25 2006 - 02:12:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:03:27 UTC