Simple stack layout for i3/sway wm.
The main idea is this - I only want max two columns on the screen. More windows should be spawn vertically.
(proportion set with stacki3 45
)
stacki3 does only 3 things:
- when there is only one window set split to
horizontal
- when there are exactly two windows set split to
vertical
on both windows - optionally when proportion is set with
width
argument (like in preview) resize the right window
That's it!
- Install the package
pip install --user stacki3
- Inside your i3/sway config add
# Default with splitting 50:50
exec stacki3
# OR
# Split first two windows 55:45
exec stacki3 45
- Log out and log back in