News for hackers. Stuff that matters.
Re:The i3-gaps project has been merged with i3 by gorgoiler on Sunday January 08, 2023 @12:53AM (#34296471)
In every window manager that supports it, alt tab does two things.

Alt tab with a long hold on alt lets you select another window, albeit from a linear list as you describe, by cycling through with tab and shift-tab.

Quickly typing alt-tab now cycles between the window you came from and the window you just selected. That’s the super useful value of the feature.

Is there an i3 command to (a) leap to another window from a selection and (b) leap back and forth between the window you came from and the window you just chose?

Re:The i3-gaps project has been merged with i3 by iamevn on Sunday January 08, 2023 @01:31AM (#34296639)
For (a) I've been using rofi. I bound a key to open its window switcher which gives me a searchable list of all open windows. There are quite a few other options: https://wiki.archlinux.org/title/I3#Jump_to_open_window

For (b) I don't know what the best option is but I see some people posting their scripts in this thread: https://github.com/i3/i3/issues/838 I think I would bind some keys to mark and then focus by mark if I wanted to do this instead of having a toggle.

Re:The i3-gaps project has been merged with i3 by counttheforks on Sunday January 08, 2023 @02:30AM (#34296926)
> Is there an i3 command to (a) leap to another window from a selection and (b) leap back and forth between the window you came from and the window you just chose?

Not for windows as far as I know, but for workspaces, yes: https://i3wm.org/docs/userguide.html#back_and_forth https://i3wm.org/docs/userguide.html#workspace_auto_back_and...

Re:The i3-gaps project has been merged with i3 by __MatrixMan__ on Sunday January 08, 2023 @10:25AM (#34299837)
So far as I know, the only way to get that functionality is to put the windows next to each other and to navigate them spatially (or to write a script that does it and bind that script to alt+tab).

But grouping windows logically based on how they're used has always just felt right, so I've never really considered that you want to keep track of the order in which windows were previously selected (using alt-tab to navigate even just three or four windows can be quite a trick). It always seemed like a necessary evil since floating-only window managers can't handle the kind of spatial focus-navigation that i3 does.