#Custom layout per monitor?

1 messages · Page 1 of 1 (latest)

onyx sparrow
#

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

crystal badger
#

@onyx sparrow can you help me?
I put the code but it didn't work, including komorebi no longer works, I needed to remove the lines for it to return to normal.

#

"display_index_preferences": { "0": "GSM0001-5&27eed4c6&0&UID4352", "1": "RTD0000-5&27eed4c6&0&UID4354", "2": "GWD2160-5&27eed4c6&0&UID4356" },

#

did I do something wrong?

onyx sparrow
#

@crystal badger hum, what if you try to use the komorebi state command to find the monitor names? it should not matter, as far as I am aware, but does not hurt to try. Also it would be nice to see if you get any errors when you run komorebi start

crystal badger
#

ok, just a second

onyx sparrow
#

komorebic, rather 🙂

crystal badger
#

like this?

onyx sparrow
#

@crystal badger I think you need device_id, I cannot test this myself, I am on my laptop 😦

#

perhaps try to use just one for now, so only "0", and remove the rest

#

if it does not match, I dont think Komorebi would stop working, at least my config still works, even thought, I dont have those 2 monitors connected

#

so, there might be something else that is wrong

#

@crystal badger Also, I am not sure when this setting was added, but just make sure you running the latest Komorebi