Hi,
I tried the following in wmiirc to access named tags by their position in
the list:
for i in 0 1 2 3 4 5 6 7 8 9; do
sed 's/^ //' <<!
Key $MODKEY-$i
wmiir xwrite /ctl view $(wmiir ls /tag | sed "s/\///" | \
head -n "$i" | tail -n 1)
Key $MODKEY-Shift-$i
wmiir xwrite /client/sel/tags $(wmiir ls /tag | sed \
"s/\///" | head -n "$i" | tail -n 1)
!
done
Unfortunately this is only evaluated once when wmii starts, thus I can
only access the tag "1". I there any way to have this evaluated at the
time of the key press?
Thanks,
Thomas
Received on Fri Jan 30 2009 - 11:49:58 UTC
This archive was generated by hypermail 2.2.0 : Fri Jan 30 2009 - 12:00:11 UTC