The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Focus between windows on current output then switch to the next

asked 2015-06-11 11:30:41 +0000

Toufik gravatar image

Let's say I have 2 monitors each containing 2 vertical splits. I start on the left most window. I'd like to set Alt+Tab to focus on the next window to the right, then since we reach the end of the left monitor, switch to the right monitor, left most window, then the next, then since we reach the end of the right monitor, circle back to the left-most window on the left monitor.

I thought about doing it in a script using the return code of focus right, but since it circles, it always returns true. Something like:

if (!focus right) then  
  focus output right
fi
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-11 11:53:15 +0000

Airblader gravatar image

See this question. AFAIK, as of 4.10.2, this is still true. That isn't to say an IPC script can't take care of it, though.

By the way:

each containing 2 vertical splits

In "i3 speak" you are talking about a horizontal split, which is a split where two containers are side by side (left/right of each other).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-11 11:30:41 +0000

Seen: 153 times

Last updated: Jun 11