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

Creating two containers with separate layout modes side by side

asked 2012-09-09 16:15:47 +0000

Richard gravatar image

updated 2012-09-09 16:58:39 +0000


is there a convenient way for having two containers with separate layout modes side by side? For example, how do I create two horizontal split containers both in a tabbed layout easily (see below)?

|                 |                 |
| progr 1/2 cont. | progr 3/4 cont. |

Right now, I create something like this in the following way:

1. Start program 1
2. Switch to tabbed mode (mod+w)
3. Start program 2
4. Select the parent container (mod+a)
5. Start program 3
6. Switch to tabbed mode (mod+w) -> now, the parent container of 
     program 1/2 is on tab next to  program 3
7. Select the parent container of program 1 and 2 (mod+a) and move 
     it away from program 3 (mod+shift+arrowKey)
8. Select program 3 and start program 4

Although this approach is working fine for me, it looks a bit tedious to perform all 8 steps described above for such a useful layout-arrangement.

Is there a more convenient way than the one I described above? Is it maybe possible to change the layout of a container separately?

Thank you very much!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-09-09 16:42:43 +0000

joepd gravatar image

This is what I would do without thinking:

1. Open program 1
2. Open program 3
3. Make vertical split
4. Open program 4
5. Make tabbed layout
6. Focus program 1
7. split vertical
8. Open program 2
9. Press $mod+w

Just as long as your method (as you are cheeting a bit in step 7 :P ) An alternative route for your suggestion, that actually is one step shorter:

6. Vertical split
7. Open program 4
8. Make container tabbed

But then again, counting key presses is not my strongest point :)

edit flag offensive delete link more


Thanks! I like your first option more than my own one. It just looks more straight forward :-)

Richard gravatar imageRichard ( 2012-09-09 17:02:48 +0000 )edit

I just read this question by accident again. I am now using a solution I like better than the two described above: Defining a shortcut for "i3-msg split v && i3-msg layout tabbed" in the i3 config allows turning a selected container directly into the tabbed layout. It merges splitting and tabbing.

Richard gravatar imageRichard ( 2013-04-07 18:28:20 +0000 )edit

Question Tools


Asked: 2012-09-09 16:15:47 +0000

Seen: 1,309 times

Last updated: Sep 09 '12