komorebi
komorebi copied to clipboard
[FEAT]: Detailed configurations on layouts
Is your feature request related to a problem? Please describe. I use VerticalStack layout for my main workspace, with IDE/Obsidian in the primary container and browser/terminal/chat apps stacking aside. But I have to resize the width of primary container every time because when you open a second app it always takes 50% the width of the screen.
Describe the solution you'd like
Rules in komorebi.json
for built-in layouts. For workspace-wise:
{
...
"layout": "VerticalStack",
"primary_container_width": "1600" // or percentage, e.g. primary_container_width: "65%"
...
}
Or for layout-wise:
{
"layout_configuration":{
"VerticalStack": {
"primary_container_percentage": 65,
// other configurations
},
"BSP": {
“split_priority”: "vertical" // force to split the container vertically first, "auto" for split at the longer edge
}
}
}