Split windows for 4 panels in i3wm

1

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

|_1_|_2_|
|_3_|_4_|

ARM4T00R4

Posted 2019-07-18T09:07:05.157

Reputation: 13

Answers

1

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 | 3 |
+---+---+
| 3 | 4 |
+---+---+

You have the desired layout.

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

bp99

Posted 2019-07-18T09:07:05.157

Reputation: 80