If I am not mistaken you can use this in your komorebi.json file. I have 2 monitors with 2 different workspaces on each.
"display_index_preferences": {
"0": "DEL4279-5&1047835a&1&UID4354",
"1": "DEL4277-5&1047835a&1&UID4352"
},
"monitors": [
{
"workspaces": [
{ "name": "P1", "layout": "UltrawideVerticalStack" },
{ "name": "P2", "layout": "UltrawideVerticalStack" }
]
},
{
"workspaces": [
{ "name": "W1", "layout": "Rows" },
{ "name": "W2", "layout": "BSP" }
]
}
],
You can find your monitor name by using the komorebic monitor-info or komorebic state commands