mirror of
https://github.com/0intro/wmii
synced 2025-01-08 11:22:23 +03:00
wmiirc: be careful with custom tags
This commit is contained in:
parent
42a175422d
commit
3f77f1c4dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user