Originally created by @averrin on GitHub (Jun 29, 2023).
Describe the bug
I have a custom layout (just 70% width instead of 50%) and it works until there are only two windows on a workspace. It fallbacks to 50%
To Reproduce
set custom layout
minimize all windows but two
Expected behavior
Width of the left is 70%
Operating System
Windows 11
komorebi is built from master branch.
tl;dr Custom layouts require at least the number of columns + 1 to be activated, though this may be reduced to at least the number of columns in the future.
@LGUG2Z commented on GitHub (Jul 1, 2023):
Let's continue this here: https://github.com/LGUG2Z/komorebi/issues/390
tl;dr Custom layouts require at least the number of columns + 1 to be activated, though this may be reduced to at least the number of columns in the future.
@averrin commented on GitHub (Jul 1, 2023):
This works for me: https://github.com/LGUG2Z/komorebi/pull/477
But tbh, looks suspicious and may cause problems in all other cases.
@averrin I just applied that exact change in the master branch; if your custom layout only contains two columns (primary and tertiary), then your custom layout will load when there are at least 2 windows open (this will be like a master/stack layout I guess?)
@LGUG2Z commented on GitHub (Jul 1, 2023):
@averrin I just applied that exact change in the `master` branch; if your custom layout only contains two columns (primary and tertiary), then your custom layout will load when there are at least 2 windows open (this will be like a master/stack layout I guess?)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @averrin on GitHub (Jun 29, 2023).
Describe the bug
I have a custom layout (just 70% width instead of 50%) and it works until there are only two windows on a workspace. It fallbacks to 50%
To Reproduce
Expected behavior
Width of the left is 70%
Operating System
Windows 11
komorebi is built from master branch.
komorebic stateOutput@averrin commented on GitHub (Jul 1, 2023):
komorebic workspace-custom-layout-rule 0 0 2 ~/custom.yamldoesn't help either =(@LGUG2Z commented on GitHub (Jul 1, 2023):
Let's continue this here: https://github.com/LGUG2Z/komorebi/issues/390
tl;dr Custom layouts require at least the number of columns + 1 to be activated, though this may be reduced to at least the number of columns in the future.
@averrin commented on GitHub (Jul 1, 2023):
This works for me: https://github.com/LGUG2Z/komorebi/pull/477
But tbh, looks suspicious and may cause problems in all other cases.
@averrin commented on GitHub (Jul 1, 2023):
Oh, I see, Im not the smartest guy here.
@LGUG2Z commented on GitHub (Jul 1, 2023):
@averrin I just applied that exact change in the
masterbranch; if your custom layout only contains two columns (primary and tertiary), then your custom layout will load when there are at least 2 windows open (this will be like a master/stack layout I guess?)