Re: [dev] [wmii] Changing view, but not launching programs in the new view

From: Kris Maglione <maglione.k_AT_gmail.com>
Date: Sat, 30 Oct 2010 21:35:25 -0400

On Sat, Oct 30, 2010 at 11:20:16PM -0200, zweifel wrote:
>I managed to pass almost all my configuration to the new wmii 3.9's
>wmiirc, though the following lines continue not to work:
>
>Key $MODKEY-$RIGHT
> i=`wmiir read /ctl| grep view | cut -d ' ' -f 2`
> i=$(($i+1))
> wmiir xwrite /ctl view "$i"
> Key $MODKEY-$LEFT
> i=`wmiir read /ctl| grep view | cut -d ' ' -f 2`
> i=$(($i-1))
> wmiir xwrite /ctl view "$i"

You'd probably be better off with the code from the stock rc:

Key $MODKEY-$RIGHT # Move to the next tag
        wmiir xwrite /ctl view $(wi_tags | wi_nexttag)
Key $MODKEY-$LEFT # Move to the previous tag
        wmiir xwrite /ctl view $(wi_tags | sort -r | wi_nexttag)

>A slightly modified version worked on previous versions. Now I can
>only change the views, but when I try to execute a terminal or other
>things, they still appear on the other view. Any ideas on how to make
>it work?

It's probably because of something you have in tagrules, or,
failing that, you're using a terminal that for some reason marks
all of its new windows as belonging to the same group.

-- 
Kris Maglione
Make everything as simple as possible, but not simpler.
	--Albert Einstein
Received on Sun Oct 31 2010 - 02:35:25 CET

This archive was generated by hypermail 2.2.0 : Sun Oct 31 2010 - 02:36:02 CET