commit 8fd81a61076651a9e12d9aa59828b9f2ef213c28
parent 3a65dd31000ad32609dfa13c41b953da88951c10
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Tue, 11 Apr 2006 18:45:40 +0200
added sort to the pipe for M-t
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rc/wmiirc b/rc/wmiirc
@@ -33,8 +33,8 @@ xwrite /def/normcolors $WMII_NORMCOLORS
wmiir write /def/rules <<EOF
/.*/ -> 1
/.*/ -> !
-/XMMS:.*/ -> ~
-/Gimp.*:.*/ -> ~
+/XMMS.*/ -> ~
+/Gimp.*/ -> ~
EOF
xwrite /ctl retag
@@ -125,7 +125,7 @@ do
$MODKEY-p)
extern `wmiimenu </tmp/ns.$USER.$DISPLAY/progs` &;;
$MODKEY-t)
- xwrite /ctl view "`wmiir read /tags | wmiimenu`" &;;
+ xwrite /ctl view "`wmiir read /tags | sort | wmiimenu`" &;;
$MODKEY-[0-9])
xwrite /ctl view `echo $1 | sed 's/.*-//'`;;
$MODKEY-Return)