3

In default i3wm I can split windows only vertical or horizontal. Can I split my 4 windows are like that:

|_1_|_2_|
|_3_|_4_|

1 Answer 1

6

I don't use i3 anymore, but as you said, you ‘can split windows only vertical or horizontal.’ So assuming you have the defaults set, to create this grid-like layout, just

  1. open your first window (1)
  2. open your second window (2)
+---+---+
|   |   |
| 1 | 2 |
|   |   |
+---+---+
  1. switch back to your first window (1) (MOD + j focuses left by default)
  2. preselect a vertical split (SUPER + v splits vertically by default)
  3. open your third window (3)
+---+---+
| 1 |   |
+---+ 2 |
| 3 |   |
+---+---+
  1. switch back to your second window (2) (SUPER + ; focuses right by default)
  2. preselect a horizontal split (SUPER + v by default)
  3. open your last window (4)
+---+---+
| 1 | 2 |
+---+---+
| 3 | 4 |
+---+---+

You have the desired layout.

(MOD is the i3 combination key you use; for example I prefer the Windows (Super) key)

1
  • Thanks for pointing out the difference between MOD and SUPER. I had trouble figuring it out and I'm sure I'm not the only one.
    – AirOne
    Feb 14, 2023 at 3:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .