feat(config): allow multiple asc files

This commit allows either the single canonical applications.json file,
or multiple files which adhere to the asc scheme to be given to the
app_specific_configuration_path config option.

I thought I had already implemented this earlier, but evidently I
hadn't.

This will be useful for people who want to maintain their own
independent set of asc rules, as they can be kept in a dedicated file
which won't be overwritten by the fetch-asc command.

resolve #736
This commit is contained in:
LGUG2Z
2025-03-13 19:35:12 -07:00
parent 3618beb366
commit fe9a1416e7
4 changed files with 194 additions and 137 deletions

View File

@@ -131,7 +131,19 @@
},
"app_specific_configuration_path": {
"description": "Path to applications.json from komorebi-application-specific-configurations (default: None)",
"type": "string"
"anyOf": [
{
"description": "A single applications.json file",
"type": "string"
},
{
"description": "Multiple applications.json files",
"type": "array",
"items": {
"type": "string"
}
}
]
},
"bar_configurations": {
"description": "Komorebi status bar configuration files for multiple instances on different monitors",