Re: [i3] Change focus in i3-tree
- From: Marcus Crestani <crestani@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: Discussions/Questions about the i3 window manager <i3-discuss@xxxxxxxxxxxxx>
- Date: Sun, 17 Jul 2011 21:50:58 +0200
Thanks for the quick reply!
"MS" == Michael Stapelberg <michael+i3@xxxxxxxxxxxxx> writes:
MS> Yes, the command looks like this: "focus parent; focus left" :).
I should've tried this syntax instead of all the variations I've
actually tried that didn't work...
How to sequence commands would be a great addition to the User's Guide.
Also, couldn't i3-migrate-config-to-v4.pl translate the 'with container'
commands to the navigate parent equivalent (i.e. "wch" -> "focus parent;
focus left"), instead of complaining "'with container' commands are
obsolete in 4.x"?
Another question: Is there a way to prevent the focus commands from
moving focus to outside the parent's subtree?
Let's assume I have this configuration:
h-split
/ \
tabbed tabbed
/ \ / \
t1 t2 t3 t4
Starting from t1 with "focus right" moves focus to t2, another "focus
right" moves focus to t3. What I'd like to see is that a "focus right"
from t2 cycles focus back to t1 instead. Is this possible?
By the way, "focus left" from t1 moves the focus to t2, what I see as
the "correct" behaviour, since focus stays within the parent's subtree,
but with the above described behaviour I would expect it to move the
focus to t4. This differing behaviour puzzles me.
--
Marcus
Other related posts: