commit 59128c599d649d3531ece6d1456c37a7c53cec55
parent 20f317dd6ab321e27eea7ce5b8e6a07f6b2a4db9
Author: Kris Maglione <kris@suckless.org>
Date: Sun, 6 Jun 2010 06:06:14 -0400
Update wmiirc and python/wmiirc to new /rules format.
Diffstat:
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/alternative_wmiircs/plan9port/wmiirc b/alternative_wmiircs/plan9port/wmiirc
@@ -41,13 +41,17 @@ WMII_TERM=(xterm)
# Column Rules
wmiir write /colrules <<!
-/gimp/ -> 17+83+41
-/.*/ -> 62+38 # Golden Ratio
+ /gimp/ -> 17+83+41
+ /.*/ -> 62+38 # Golden Ratio
!
# Tagging Rules
-wmiir write /tagrules <<!
-/MPlayer|VLC/ -> ~
+wmiir write /rules <<!
+ # MPlayer and VLC don't float by default, but should.
+ /MPlayer|VLC/ floating=True
+ # ROX puts all of its windows in the same group, so they open
+ # with the same tags. Disable grouping for ROX Filer.
+ /^ROX-Filer:/ group=0
!
# Status Bar Info
diff --git a/rc/wmiirc.sh b/rc/wmiirc.sh
@@ -44,13 +44,17 @@ histnum=5000
# Column Rules
wmiir write /colrules <<!
-/gimp/ -> 17+83+41
-/.*/ -> 62+38 # Golden Ratio
+ /gimp/ -> 17+83+41
+ /.*/ -> 62+38 # Golden Ratio
!
# Tagging Rules
-wmiir write /tagrules <<!
-/MPlayer|VLC/ -> ~
+wmiir write /rules <<!
+ # MPlayer and VLC don't float by default, but should.
+ /MPlayer|VLC/ floating=True
+ # ROX puts all of its windows in the same group, so they open
+ # with the same tags. Disable grouping for ROX Filer.
+ /^ROX-Filer:/ group=0
!
# Status Bar Info