Update README.md

timeout_old
Tassilo Horn 3 years ago
parent 69d0c120f5
commit 0728de3d05
  1. 8
      README.md

@ -247,16 +247,16 @@ exact width.
If `auto_tile` is enabled, swayr will automatically split either vertically or If `auto_tile` is enabled, swayr will automatically split either vertically or
horizontally according to this algorithm: horizontally according to this algorithm:
- For all outputs: - For all outputs:
- For all (nested) containers on that output (except the scratchpad): + For all (nested) containers on that output (except the scratchpad):
- For all child windows of that container: - For all child windows of that container:
- If the container is split horizontally and creating another window + If the container is split horizontally and creating another window
would make the current child window smaller than the minimum width, would make the current child window smaller than the minimum width,
execute `split vertical` (the `swaymsg` command over IPC) on the child. execute `split vertical` (the `swaymsg` command over IPC) on the child.
- Else if the container is split vertically and now there is enough space + Else if the container is split vertically and now there is enough space
so that creating another window would still leave the current child so that creating another window would still leave the current child
window above or equal to the minimum width, call `split horizontal` on window above or equal to the minimum width, call `split horizontal` on
the child. the child.
- Otherwise, do nothing for this container. This means that stacked or + Otherwise, do nothing for this container. This means that stacked or
tabbed containers will never be affected by auto-tiling. tabbed containers will never be affected by auto-tiling.
There is one caveat: it would be nice to also trigger auto-tiling when windows There is one caveat: it would be nice to also trigger auto-tiling when windows

Loading…
Cancel
Save