feat(bar): add storage_display_name option

This commit implements this feature as it was added in
LGUG2Z/komorebi@c84fa50fc9.
This commit is contained in:
LGUG2Z committed 2026-03-29 15:22:29 -07:00
1 parent 24878dc3a4
commit a17a39ea3b
4 files changed
+124 -45

No files matched your search

+35
View File
@@ -3434,12 +3434,47 @@
"null"
],
"default": true
},
"storage_display_name": {
"description": "Storage display name",
"anyOf": [
{
"$ref": "#/$defs/StorageDisplayName"
},
{
"type": "null"
}
]
}
},
"required": [
"enable"
]
},
"StorageDisplayName": {
"oneOf": [
{
"description": "Display label as mount point eg. /",
"type": "string",
"const": "Mount"
},
{
"description": "Display label as name eg. Macintosh HD",
"type": "string",
"const": "Name"
},
{
"description": "Display label as mount then name eg. / Macintosh HD",
"type": "string",
"const": "MountAndName"
},
{
"description": "Display label as name then mount eg. Macintosh HD /",
"type": "string",
"const": "NameAndMount"
}
]
},
"TimeConfig": {
"description": "Time widget configuration",
"type": "object",