The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.
Ask Your Question
0

Focus on last focused window when jump back to monitor

asked 2014-10-22 08:33:15 +0000

klub gravatar image

updated 2014-10-22 13:19:20 +0000

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-22 08:40:41 +0000

lasers gravatar image

updated 2014-10-22 08:46:07 +0000

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

edit flag offensive delete link more

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 ( 2014-10-22 13:22:20 +0000 )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 ( 2014-10-22 15:52:18 +0000 )edit

Question Tools

Stats

Asked: 2014-10-22 08:33:15 +0000

Seen: 1,884 times

Last updated: Oct 22 '14