#Multi Conditional float_rules

1 messages · Page 1 of 1 (latest)

bright karma
#

Hi, I'm pretty new to Komorebi so please bear with my dumb questions

I was wondering if static float rules could be multi-conditioned?

I have tried it this way and ended up with errors, so I am just reaching out here for help

For example:

  "float_rules": [
    {
      "kind": "Title",
      "id": "Media Player",
      "matching_strategy": "Equals"
      "kind": "Class",
      "id": "someClassHere",
      "matching_strategy": "Equals"
    }
  ]
}```
#

Multi Conditional float_rules

river breach
#

They can. Just put them on an array like this:

{
  "float_rules": [
    [
      {
        "kind": "Title",
        "id": "Media Player",
        "matching_strategy": "Equals"
      },
      {
        "kind": "Class",
        "id": "someClassHere",
        "matching_strategy": "Equals"
      }
    ]
  ]
}
#

most rules accept an object or an array of objects

bright karma
#

Thanks for your help!