Re: [wmii] Switch to named tag by number

From: Thomas Dahms <dahms_AT_itp.physik.tu-berlin.de>
Date: Sat, 31 Jan 2009 21:14:25 +0100 (CET)

On Sat, 31 Jan 2009, Kris Maglione wrote:

> This revision should do it:
>
> for i in 1 2 3 4 5 6 7 8 9; do
> sed 's/^ //' <<!
> Key $MODKEY-$i
> wmiir xwrite /ctl view "\$(wi_tags | sed -n "${i}p")"
> Key $MODKEY-Shift-$i
> wmiir xwrite /client/sel/tags "-sel+\$(wi_tags | sed -n
> "${i}p")"
> !
> done
>
>

Thanks a lot, this works fine. I knew my attempt was miserable.

Thomas
Received on Sat Jan 31 2009 - 20:14:25 UTC

This archive was generated by hypermail 2.2.0 : Sat Jan 31 2009 - 20:24:05 UTC