On Tue, Apr 25 03:11, [EMAIL PROTECTED] wrote:
> 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.

Yeap, good idea. 

-- 
redondos

Attachment: pgpKTzo7FhuFf.pgp
Description: PGP signature

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to