From 0728de3d050e1ce550990e75287f15b73e11b1d2 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Wed, 14 Jul 2021 18:21:26 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 22fd00b..d442787 100644 --- a/README.md +++ b/README.md @@ -247,16 +247,16 @@ exact width. If `auto_tile` is enabled, swayr will automatically split either vertically or horizontally according to this algorithm: - 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: - - 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, 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 window above or equal to the minimum width, call `split horizontal` on 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. There is one caveat: it would be nice to also trigger auto-tiling when windows