Cloudef / orbment

Modular Wayland compositor
Other
246 stars 16 forks source link

Tiling Modes #1

Open kapai-zz opened 10 years ago

kapai-zz commented 10 years ago
  ___________        ___________
 |       | 1 |      | 1 |       |
 |   0   |___|  or  |___|   0   |
 |       | 2 |      | 2 |       |
 |_______|___|      |___|_______|
  ___________ 
 | 1|     | 3|
 |__|  0  |__|
 | 2|     | 4|
 |__|_____|__|
  ___________        ___________
 |           |      |__1__|__2__|
 |     0     |  or  |           |
 |___________|      |     0     |
 |__1__|__2__|      |___________|
  ___________ 
 |__1__|__2__|
 |     0     |
 |___________|
 |__3__|__4__|
  ___________
 |  0  |  2  |
 |_____|_____|
 |  1  |  3  |
 |_____|_____|
  ___________
 |     |  1  |
 |  0  |_____|
 |     | 2| 3|
 |_____|__|__|
  ___________ 
 |   |   |   |
 | 0 | 1 | 2 |
 |   |   |   |
 |___|___|___|
  ___________ 
 |-----0-----|
 |-----1-----|
 |-----2-----|
 |_____3_____|
kapai-zz commented 10 years ago

Modes that have 2 versions are supposed to be interchangeable through a INVERT_MODE keybind, so if it's tiling up, it tiles down and if it's tiling left, it tiles right.

Fuuzetsu commented 10 years ago
  ___________
 |     |  1  |
 |     |_____|
 |  0  |  2  |
 |     |_____|
 |     |  3  |
 |_____|_____|

Even vertical split with 1…n windows stacking vertically

Cloudef commented 10 years ago

I'll probably provide few tiling modes out of the box, and make rest extendable. When its time I try to provide all these.

@Fuuzetsu Ironically that's actually implemented right now :)