On Thu, Mar 16, 2006 at 11:38:04AM +0100, Anselm R. Garbe wrote:
> > You may as well verify that with hexdump:
> > $ echo "bla\nblu" | wmiimenu | hexdump
> > 0000 62 6c 61 bla
> > $
>
> Ah, you're right, didn't noticed that this has been changed,
> thus you don't need the echo -n in my eyes. wmiimenu does not
> append '\n'.
Tried that again with wmii-20060316, works now without anything:
$MODKEY-Control-t)
echo -n select `wmiir read /tags | sort | wmiimenu` | wmiir write /ctl &;;
$MODKEY-Control-Shift-t)
wmiir read /tags | sort | wmiimenu | wmiir write /ws/sel/sel/tags &;;
The only drawback (or is it a feature?) of this way of setting tags
is when you escape from wmiimenu the tag of the selected window
is set to none and the window is hidden... It would probably be
a good idea to prepend the clients' current tag to the list of
all available tags, so it's preselected in wmiimenu.
Regards,
Stefan
Received on Thu Mar 16 2006 - 12:05:03 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:01:17 UTC