Added
Link Here
|
1 |
This script uses the i3ipc-python library to switch the layout |
2 |
splith/splitv depending on the currently focused window dimensions. |
3 |
It works on both sway and i3 window managers. |
4 |
|
5 |
The script does one thing: it checks the window height / width ratio, |
6 |
and executes the equivalent of either swaymsg splitv or swaymsg splith. |
7 |
Nothing less, nothing more. Yes, it may make stacking and tabbed |
8 |
layouts behave oddly. No, nothing can be done about it. If you like |
9 |
stacking/tabbed layouts, you may use them on workspaces with autotiling |
10 |
turned off (--workspaces argument). Do not submit issues about it. |
11 |
|
12 |
For instance, you may configure autotiling to work on odd workspaces, |
13 |
but not on even: |
14 |
|
15 |
### Autostart |
16 |
exec autotiling -w 1 3 5 7 9 |