mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-21 16:21:29 +02:00
feat(config): add object name change title ignore list
This commit adds a title regex-based ignore list for applications identified in object_name_change_applications. When a title change on an EVENT_OBJECT_NAMECHANGE matches one of these regexes, the event will never be processed as a Show. This is an edge case workaround specifically targeting the issue of web apps in Gecko-based browsers which update their page titles at a fixed regular interval, which was highlighted in #1235. resolve #1235
This commit is contained in:
41
schema.json
41
schema.json
@@ -646,16 +646,30 @@
|
||||
"description": "Aspect ratio to resize with when toggling floating mode for a window",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "21:9",
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"description": "16:9",
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"description": "4:3",
|
||||
"type": "null"
|
||||
"description": "A predefined aspect ratio",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "21:9",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Ultrawide"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "16:9",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Widescreen"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "4:3",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "A custom W:H aspect ratio",
|
||||
@@ -1490,6 +1504,13 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"object_name_change_title_ignore_list": {
|
||||
"description": "Do not process EVENT_OBJECT_NAMECHANGE events as Show events for identified applications matching these title regexes",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"remove_titlebar_applications": {
|
||||
"description": "HEAVILY DISCOURAGED: Identify applications for which komorebi should forcibly remove title bars",
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user