New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please implement a “focus next” function #907
Comments
[Original comment by tanguy+i3wm.org@…] Sorry I was not able to tag this ticket accordingly, but it is a whishlist request rather than a defect! |
See http://bugs.i3wm.org/query/ticket/840#comment:1 on why we don’t want to implement alt+tab like window cycling: Cycling through windows in focus order (like alt-tab) is something we don’t want to implement:
Maybe slowpoke’s window switching script (ask him on IRC) is what you are looking for. |
[Original comment by tanguy+i3wm.org@…] Okay, I may code something of my own, although I do not agree on these arguments:
|
Replying to comment 3 by tanguy+i3wm.org@…:
|
Would be a function like workspace back_and_forth but for containers possible? |
@MrTango You can use the IPC. https://github.com/acrisci/i3ipc-python/blob/master/examples/focus-last.py |
[Originally reported by tanguy+i3wm.org@…]
(Focusing clients is currently implemented in a directional way: focus left, focus up, etc. It would be practical to have a “focus next/previous” function, that would allow to switch between all windows, or optionally between visible windows, in a layout-independant way.
The interest of such a function would be to have a single binding to switching focus, which is sometimes (often?) faster to use, even if one has to type it several times, than having to choose the key to use depending on the physical layout of the windows on the screen.
Technically, that would mean browsing the leafs of the tree, which I think is a classical algorithm.
The text was updated successfully, but these errors were encountered: