wmiirc: be careful with custom tags

This commit is contained in:
Georg Neis 2006-03-30 16:06:59 +02:00
parent 42a175422d
commit 3f77f1c4dd

View File

@ -101,7 +101,7 @@ do
exit
fi;;
LabelClick)
xwrite /ctl view $1;;
xwrite /ctl view "$1";;
Key)
case "$1" in
$MODKEY-Control-c)
@ -151,11 +151,11 @@ do
$MODKEY-[0-9])
xwrite /ctl view `echo $1 | sed 's/.*-//'`;;
$MODKEY-Control-t)
xwrite /ctl view `wmiir read /tags | wmiimenu` &;;
xwrite /ctl view "`wmiir read /tags | wmiimenu`" &;;
$MODKEY-Shift-[0-9])
xwrite /view/sel/sel/tags `echo $1 | sed 's/.*-//'`;;
$MODKEY-Shift-t)
xwrite /view/sel/sel/tags `wmiir read /view/sel/sel/tags | wmiimenu` &;;
xwrite /view/sel/sel/tags "`wmiir read /view/sel/sel/tags | wmiimenu`" &;;
esac;;
esac
done