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

How can I define workspace numbers for specific monitors?

asked 2014-06-28 00:52:38 +0000

winchendonsprings gravatar image

I have a dual monitor setup and I'd like to override the default way i3 handles workspaces per monitor. Currently "New workspaces will be opened on the currently active monitor."

I'd prefer it if, for example, it was 1+2 and 3+4 and 5+6 etc. Sort of like one big screen so when I move from screen 2 to screen 5, I got from 1+2 to 5+6.

Is this possible to config?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-06-28 01:16:35 +0000

ANOKNUSA gravatar image

See section 4.14 of the User's Guide.

edit flag offensive delete link more

Comments

This describes how to assign worspaces to monitors, not how to switch from 1+2 to 3+4 at a time. For example, I'm on worspace 1 and I switch to workspace 3, I'm still looking at workspace 2 on the second monitor rather than workspace 4.

winchendonsprings gravatar imagewinchendonsprings ( 2014-06-28 01:25:51 +0000 )edit
1

It isn't really clear what you're asking. If you want two workspaces per screen, assign them to the appropriate screen and they'll be created as you switch to them. Workspaces only exist after they're explicitly created, so you won't see them until you switch to them.

ANOKNUSA gravatar imageANOKNUSA ( 2014-06-28 13:01:13 +0000 )edit
1

If you're looking to switch two workspaces at a time---so the switch happens one on both monitors simultaneously---assign each workspace to the appropriate monitor and then bind switching to both workspaces to a single keybinding.

ANOKNUSA gravatar imageANOKNUSA ( 2014-06-28 13:04:25 +0000 )edit

Thanks! Perfect, your second comment here is exaclty what I was looking for.

winchendonsprings gravatar imagewinchendonsprings ( 2014-06-29 02:47:03 +0000 )edit

For anyone interested in how I did it...see line starting at 91 and 124 - http://pastebin.com/dFBY52z7 thanks again @ANOKUSA

winchendonsprings gravatar imagewinchendonsprings ( 2014-06-29 03:05:42 +0000 )edit

Question Tools

Stats

Asked: 2014-06-28 00:52:38 +0000

Seen: 638 times

Last updated: Jun 28 '14