The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Change focus to a diferent monitor then put there a certain workspace

asked 2015-04-27 16:44:20 +0000

reikaze gravatar image

updated 2015-04-27 20:21:25 +0000

While having my focus on my left-display in xmonad I use Mod+E to change to the right-display and Mod+Number to put there certain workspace.

With focus output left/right I can achieve the former behaviour but when I change the workspace in my focused monitor, that workspace will be called into the monitor where it was first opened.

I can work around this with move workspace to output right if that workspace appeared on my left monitor, but it quickly become troublesome:

  1. Wherever my focus is, call the workspace I want to move with Mod+Number
  2. Observe where it appeared, then Think and Understand where it is, and where I want it to be next.
  3. Move it. Done

That 2nd step is what I want to avoid since confuses me and breaks my workflow. There's a way to this?

  1. Select the monitor where I want the workspace.
  2. Call it. Done
edit retag flag offensive close merge delete


i3 itself doesn't support this, but you can write a simple IPC script that filters the active output from the `get_outputs` command.

Airblader gravatar imageAirblader ( 2015-04-27 19:18:52 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-29 05:16:33 +0000

i3convert gravatar image

I think what you are after is i3-wk-switcher, which provides xmonad-style desktop switching.

P.S. I did not try it, but if you do, please share your experience.

edit flag offensive delete link more


It's exactly the droid I'm looking. It works like expected.

reikaze gravatar imagereikaze ( 2015-04-30 17:10:08 +0000 )edit

Question Tools

1 follower


Asked: 2015-04-27 16:44:20 +0000

Seen: 200 times

Last updated: Apr 29