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

Focus on last focused window when jump back to monitor

asked Oct 22 '14

klub gravatar image

updated Oct 22 '14

Here the scenario:

  • Focus is on left screen, in tabular mode, with three tabed windows opened. Focus in on the lefter tabulation.
  • Jump to workspace 6 (Mod+6) which is on right screen.
  • If I jump left (Mod+Left) focus goes on left monitor, but it focuses the most right tabulation.

I already have a binding to focus output right, but I frequently forget to use it.

I would prefer a behavior which says: When jumping left or right, if it jumps to another monitor, focus on the last focused window on this monitor.

Does this behavior exists?

1 answer

Sort by » oldest newest most voted
0

answered Oct 22 '14

lasers gravatar image

updated Oct 22 '14

I think you're looking for workspace back_and_forth when it comes to workspace. For outputs, try something like focus output right

Comments

back_and_forth is not what I am looking for. I want to force a focus to a given widow in the output, I don't want to focus to the last output.

klub gravatar imageklub (Oct 22 '14)edit

**Try it.** `back_and_forth` does exactly what you want, just not exactly the way you want it done. The only scenario in which what you want would be useful is when the left-most window on right screen is focused. `back_and_forth` always works the same, no matter where current focus is.

ANOKNUSA gravatar imageANOKNUSA (Oct 22 '14)edit

Question Tools

Stats

Asked: Oct 22 '14

Seen: 1,884 times

Last updated: Oct 22 '14