mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Feature request: Allow WidthPercentage vavlue Always take effect in custom layout #80
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kls1991 on GitHub (Mar 5, 2022).
Originally assigned to: @LGUG2Z on GitHub.
Sorry for I'm not good at English, I'm not a programmer either...
I use a 24' moniter, I'm in love with custom layout. My primary windows is 75% width.
When there are 3 or more windows open, everything is fine. My primary window is big enough and other windows are waiting my call in a near position.
When there are 2 windows open, windows are equal width awkwardly. My browser is not wide enough... I kown it's meant to be like this to optimize for ultrawide screen, but can komorebi add a switch to allow widthPercentage vavlue always take effect even windows number is less or equal than custom layout colomn number?
That will be perfect for me, thanks!
@LGUG2Z commented on GitHub (Mar 28, 2022):
@kls1991 Check out the dynamic layout selection rules feature that I have just committed to the
masterbranch. With this, you can specify another custom layout that you wish to apply when there are only two windows open, and with this you can specify the desired width of the primary column:You can apply this rule with:
Then, you can add one more rule to apply your existing custom layout when there are 3 or more windows open:
@LGUG2Z commented on GitHub (Mar 29, 2022):
@Cody-Duncan Maybe you would also like to try this out 🙏
@kls1991 commented on GitHub (Mar 30, 2022):
Thank you man! I don't kown how to compile source code, will wait for a new release with ❤!
@LGUG2Z commented on GitHub (Mar 30, 2022):
There are still a few more issues I want to resolve before the next release, so it might be a little while before the new release is available on scoop, but if you already want to try this out you can download the exe files from the latest commit here and replace the current exe files on your system.
@calendulish commented on GitHub (Jun 29, 2022):
I'm trying to achieve same thing but it's not working. The layout doesn't apply when there's less than 3 window, even after
komorebic workspace-custom-layout-rule 0 0 0 <layout>commandI'm using latest source code