feat(transparency): add ignore rules to config

This commit adds transparency_ignore_rules to the komorebi.json static
configuration format. Windows that match any rules given in this list
will not have transparency applied when they are unfocused.

For example, to ensure that a browser window is not made transparent
when the focused tab is a YouTube video:

```json
"transparency_ignore_rules": [
  {
    "kind": "Title",
    "id": "YouTube",
    "matching_strategy": "Contains"
  }
]
```
This commit is contained in:
LGUG2Z
2024-09-28 12:19:25 -07:00
parent a1f1be0afe
commit b7198242ff
6 changed files with 135 additions and 10 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "KomobarConfig",
"description": "The `komorebi.bar.json` configuration file reference for `v0.1.29`",
"description": "The `komorebi.bar.json` configuration file reference for `v0.1.30`",
"type": "object",
"required": [
"left_widgets",