Skip to content

Commit

Permalink
docs(schema): update all json schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
LGUG2Z committed Dec 18, 2024
1 parent d393f8f commit 5dbf0f1
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 11 deletions.
137 changes: 127 additions & 10 deletions schema.bar.json
Original file line number Diff line number Diff line change
@@ -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.31`",
"description": "The `komorebi.bar.json` configuration file reference for `v0.1.32`",
"type": "object",
"required": [
"left_widgets",
Expand Down Expand Up @@ -243,9 +243,6 @@
"properties": {
"Komorebi": {
"type": "object",
"required": [
"workspaces"
],
"properties": {
"configuration_switcher": {
"description": "Configure the Configuration Switcher widget",
Expand Down Expand Up @@ -292,12 +289,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -335,12 +346,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -408,12 +433,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -1317,9 +1356,6 @@
"properties": {
"Komorebi": {
"type": "object",
"required": [
"workspaces"
],
"properties": {
"configuration_switcher": {
"description": "Configure the Configuration Switcher widget",
Expand Down Expand Up @@ -1366,12 +1402,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -1409,12 +1459,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -1482,12 +1546,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -2149,9 +2227,6 @@
"properties": {
"Komorebi": {
"type": "object",
"required": [
"workspaces"
],
"properties": {
"configuration_switcher": {
"description": "Configure the Configuration Switcher widget",
Expand Down Expand Up @@ -2198,12 +2273,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -2241,12 +2330,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down Expand Up @@ -2314,12 +2417,26 @@
"Text"
]
},
{
"description": "Show an icon and text for the selected element, and text on the rest",
"type": "string",
"enum": [
"TextAndIconOnSelected"
]
},
{
"description": "Show both icon and text",
"type": "string",
"enum": [
"IconAndText"
]
},
{
"description": "Show an icon and text for the selected element, and icons on the rest",
"type": "string",
"enum": [
"IconAndTextOnSelected"
]
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "StaticConfig",
"description": "The `komorebi.json` static configuration file reference for `v0.1.31`",
"description": "The `komorebi.json` static configuration file reference for `v0.1.32`",
"type": "object",
"properties": {
"animation": {
Expand Down

0 comments on commit 5dbf0f1

Please sign in to comment.