Metadata-Version: 2.1
Name: stacki3
Version: 0.3.0
Summary: Stack layout for i3/sway wm.
Home-page: https://github.com/ViliamV/stacki3
License: MIT
Author: Viliam Valent
Author-email: stacki3@viliamvalent.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: i3ipc (>=2.2.1,<3.0.0)
Project-URL: Repository, https://github.com/ViliamV/stacki3
Description-Content-Type: text/markdown

# stacki3

Simple stack layout for i3/sway wm.

## How it works

![Preview](./preview.gif)
(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`
- _optionally_ when proportion is set with `width` argument (like in preview) resize the second window

That's it!

## Instalation

1. Install the package

```bash
pip install --user stacki3
```

2. Inside your i3/sway config add

```i3
# Default with splitting 50:50
exec stacki3
# OR
# Split first two windows 55:45
exec stacki3 45
```

3. Restart i3/sway

