mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-14 06:15:50 +01:00
This commit adds a new option to the WorkspaceConfig object, floating_layer_behaviour, which allows the user to either set FloatingLayerBehaviour::Tile or FloatingLayerBehaviour::Float. Although I prefer Float as a default, there was a good enough argument to make Tile the default based on the fact that the Floating layer is automatically engaged based on the focused window, and previously when the focused window was a floating window, new windows would be tiled unless they matched floating rules.
4212 lines
147 KiB
JSON
4212 lines
147 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "KomobarConfig",
|
|
"description": "The `komorebi.bar.json` configuration file reference for `v0.1.36`",
|
|
"type": "object",
|
|
"required": [
|
|
"left_widgets",
|
|
"monitor",
|
|
"right_widgets"
|
|
],
|
|
"properties": {
|
|
"center_widgets": {
|
|
"description": "Center widgets (ordered left-to-right)",
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Battery"
|
|
],
|
|
"properties": {
|
|
"Battery": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Battery widget",
|
|
"type": "boolean"
|
|
},
|
|
"hide_on_full_charge": {
|
|
"description": "Hide the widget if the battery is at full charge",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Cpu"
|
|
],
|
|
"properties": {
|
|
"Cpu": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Cpu widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Date"
|
|
],
|
|
"properties": {
|
|
"Date": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"format"
|
|
],
|
|
"properties": {
|
|
"enable": {
|
|
"description": "Enable the Date widget",
|
|
"type": "boolean"
|
|
},
|
|
"format": {
|
|
"description": "Set the Date format",
|
|
"oneOf": [
|
|
{
|
|
"description": "Month/Date/Year format (09/08/24)",
|
|
"type": "string",
|
|
"enum": [
|
|
"MonthDateYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Year-Month-Date format (2024-09-08)",
|
|
"type": "string",
|
|
"enum": [
|
|
"YearMonthDate"
|
|
]
|
|
},
|
|
{
|
|
"description": "Date-Month-Year format (8-Sep-2024)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DateMonthYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Day Date Month Year format (8 September 2024)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DayDateMonthYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "object",
|
|
"required": [
|
|
"Custom"
|
|
],
|
|
"properties": {
|
|
"Custom": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"description": "Custom format with modifiers",
|
|
"type": "object",
|
|
"required": [
|
|
"CustomModifiers"
|
|
],
|
|
"properties": {
|
|
"CustomModifiers": {
|
|
"description": "Custom format with additive modifiers for integer format specifiers",
|
|
"type": "object",
|
|
"required": [
|
|
"format",
|
|
"modifiers"
|
|
],
|
|
"properties": {
|
|
"format": {
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "string"
|
|
},
|
|
"modifiers": {
|
|
"description": "Additive modifiers for integer format specifiers (e.g. { \"%U\": 1 } to increment the zero-indexed week number by 1)",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"timezone": {
|
|
"description": "TimeZone (https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html)\n\nUse a custom format to display additional information, i.e.: ```json { \"Date\": { \"enable\": true, \"format\": { \"Custom\": \"%D %Z (Tokyo)\" }, \"timezone\": \"Asia/Tokyo\" } } ```",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Keyboard"
|
|
],
|
|
"properties": {
|
|
"Keyboard": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 1 second)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Input widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Komorebi"
|
|
],
|
|
"properties": {
|
|
"Komorebi": {
|
|
"type": "object",
|
|
"properties": {
|
|
"configuration_switcher": {
|
|
"description": "Configure the Configuration Switcher widget",
|
|
"type": "object",
|
|
"required": [
|
|
"configurations",
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"configurations": {
|
|
"description": "A map of display friendly name => path to configuration.json",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Configurations widget",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"focused_window": {
|
|
"description": "Configure the Focused Window widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the currently focused window",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Focused Window widget",
|
|
"type": "boolean"
|
|
},
|
|
"show_icon": {
|
|
"description": "DEPRECATED: use 'display' instead (Show the icon of the currently focused window)",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"description": "Configure the Layout widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the current layout",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Layout widget",
|
|
"type": "boolean"
|
|
},
|
|
"options": {
|
|
"description": "List of layout options",
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"BSP",
|
|
"Columns",
|
|
"Rows",
|
|
"VerticalStack",
|
|
"HorizontalStack",
|
|
"UltrawideVerticalStack",
|
|
"Grid",
|
|
"RightMainVerticalStack"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"workspace_layer": {
|
|
"description": "Configure the Workspace Layer widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the current layer",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Workspace Layer widget",
|
|
"type": "boolean"
|
|
},
|
|
"show_when_tiling": {
|
|
"description": "Show the widget event if the layer is Tiling",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"workspaces": {
|
|
"description": "Configure the Workspaces widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"hide_empty_workspaces"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the workspace",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show all icons only",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIcons"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show both all icons and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIconsAndText"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show all icons and text for the selected element, and all icons on the rest",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIconsAndTextOnSelected"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Existing"
|
|
],
|
|
"properties": {
|
|
"Existing": {
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Workspaces widget",
|
|
"type": "boolean"
|
|
},
|
|
"hide_empty_workspaces": {
|
|
"description": "Hide workspaces without any windows",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Media"
|
|
],
|
|
"properties": {
|
|
"Media": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"enable": {
|
|
"description": "Enable the Media widget",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Memory"
|
|
],
|
|
"properties": {
|
|
"Memory": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Memory widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Network"
|
|
],
|
|
"properties": {
|
|
"Network": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"show_network_activity",
|
|
"show_total_data_transmitted"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Network widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"network_activity_fill_characters": {
|
|
"description": "Characters to reserve for network activity data",
|
|
"type": "integer",
|
|
"format": "uint",
|
|
"minimum": 0.0
|
|
},
|
|
"show_default_interface": {
|
|
"description": "Show default interface",
|
|
"type": "boolean"
|
|
},
|
|
"show_network_activity": {
|
|
"description": "Show network activity",
|
|
"type": "boolean"
|
|
},
|
|
"show_total_data_transmitted": {
|
|
"description": "Show total data transmitted",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Storage"
|
|
],
|
|
"properties": {
|
|
"Storage": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Storage widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Time"
|
|
],
|
|
"properties": {
|
|
"Time": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"format"
|
|
],
|
|
"properties": {
|
|
"changing_icon": {
|
|
"description": "Change the icon depending on the time. The default icon is used between 8:30 and 12:00. (default: false)",
|
|
"type": "boolean"
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Time widget",
|
|
"type": "boolean"
|
|
},
|
|
"format": {
|
|
"description": "Set the Time format",
|
|
"oneOf": [
|
|
{
|
|
"description": "Twelve-hour format (with seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwelveHour"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twelve-hour format (without seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwelveHourWithoutSeconds"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format (with seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwentyFourHour"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format (without seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwentyFourHourWithoutSeconds"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format displayed as a binary clock with circles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)",
|
|
"type": "string",
|
|
"enum": [
|
|
"BinaryCircle"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format displayed as a binary clock with rectangles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)",
|
|
"type": "string",
|
|
"enum": [
|
|
"BinaryRectangle"
|
|
]
|
|
},
|
|
{
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "object",
|
|
"required": [
|
|
"Custom"
|
|
],
|
|
"properties": {
|
|
"Custom": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"timezone": {
|
|
"description": "TimeZone (https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html)\n\nUse a custom format to display additional information, i.e.: ```json { \"Time\": { \"enable\": true, \"format\": { \"Custom\": \"%T %Z (Tokyo)\" }, \"timezone\": \"Asia/Tokyo\" } } ```",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Update"
|
|
],
|
|
"properties": {
|
|
"Update": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 12 hours)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Update widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"font_family": {
|
|
"description": "Font family",
|
|
"type": "string"
|
|
},
|
|
"font_size": {
|
|
"description": "Font size (default: 12.5)",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"frame": {
|
|
"description": "Frame options (see: https://docs.rs/egui/latest/egui/containers/frame/struct.Frame.html)",
|
|
"type": "object",
|
|
"required": [
|
|
"inner_margin"
|
|
],
|
|
"properties": {
|
|
"inner_margin": {
|
|
"description": "Margin inside the painted frame",
|
|
"type": "object",
|
|
"required": [
|
|
"x",
|
|
"y"
|
|
],
|
|
"properties": {
|
|
"x": {
|
|
"description": "X coordinate",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"y": {
|
|
"description": "Y coordinate",
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"grouping": {
|
|
"description": "Visual grouping for widgets",
|
|
"oneOf": [
|
|
{
|
|
"description": "No grouping is applied",
|
|
"type": "object",
|
|
"required": [
|
|
"kind"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "Widgets are grouped as a whole",
|
|
"type": "object",
|
|
"required": [
|
|
"kind"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Bar"
|
|
]
|
|
},
|
|
"rounding": {
|
|
"description": "Rounding values for the 4 corners. Can be a single or 4 values.",
|
|
"anyOf": [
|
|
{
|
|
"description": "All 4 corners are the same",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"description": "All 4 corners are custom. Order: NW, NE, SW, SE",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"maxItems": 4,
|
|
"minItems": 4
|
|
}
|
|
]
|
|
},
|
|
"style": {
|
|
"description": "Styles for the grouping",
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"Default"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 4, offset: x-1 y-1, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB4O1S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 4, offset: x-0 y-0, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB4O0S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB0O1S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 3, offset: x-1 y-1, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB3O1S2"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 3, offset: x-0 y-0, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB3O0S2"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB0O1S2"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"transparency_alpha": {
|
|
"description": "Alpha value for the color transparency [[0-255]] (default: 200)",
|
|
"type": "integer",
|
|
"format": "uint8",
|
|
"minimum": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "Widgets are grouped by alignment",
|
|
"type": "object",
|
|
"required": [
|
|
"kind"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Alignment"
|
|
]
|
|
},
|
|
"rounding": {
|
|
"description": "Rounding values for the 4 corners. Can be a single or 4 values.",
|
|
"anyOf": [
|
|
{
|
|
"description": "All 4 corners are the same",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"description": "All 4 corners are custom. Order: NW, NE, SW, SE",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"maxItems": 4,
|
|
"minItems": 4
|
|
}
|
|
]
|
|
},
|
|
"style": {
|
|
"description": "Styles for the grouping",
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"Default"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 4, offset: x-1 y-1, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB4O1S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 4, offset: x-0 y-0, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB4O0S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB0O1S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 3, offset: x-1 y-1, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB3O1S2"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 3, offset: x-0 y-0, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB3O0S2"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB0O1S2"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"transparency_alpha": {
|
|
"description": "Alpha value for the color transparency [[0-255]] (default: 200)",
|
|
"type": "integer",
|
|
"format": "uint8",
|
|
"minimum": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "Widgets are grouped individually",
|
|
"type": "object",
|
|
"required": [
|
|
"kind"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Widget"
|
|
]
|
|
},
|
|
"rounding": {
|
|
"description": "Rounding values for the 4 corners. Can be a single or 4 values.",
|
|
"anyOf": [
|
|
{
|
|
"description": "All 4 corners are the same",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"description": "All 4 corners are custom. Order: NW, NE, SW, SE",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"maxItems": 4,
|
|
"minItems": 4
|
|
}
|
|
]
|
|
},
|
|
"style": {
|
|
"description": "Styles for the grouping",
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"Default"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 4, offset: x-1 y-1, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB4O1S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 4, offset: x-0 y-0, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB4O0S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A shadow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 3)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithShadowB0O1S3"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 3, offset: x-1 y-1, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB3O1S2"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 3, offset: x-0 y-0, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB3O0S2"
|
|
]
|
|
},
|
|
{
|
|
"description": "A glow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 2)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DefaultWithGlowB0O1S2"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"transparency_alpha": {
|
|
"description": "Alpha value for the color transparency [[0-255]] (default: 200)",
|
|
"type": "integer",
|
|
"format": "uint8",
|
|
"minimum": 0.0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"height": {
|
|
"description": "Bar height (default: 50)",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"icon_scale": {
|
|
"description": "Scale of the icons relative to the font_size [[1.0-2.0]]. (default: 1.4)",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"left_widgets": {
|
|
"description": "Left side widgets (ordered left-to-right)",
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Battery"
|
|
],
|
|
"properties": {
|
|
"Battery": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Battery widget",
|
|
"type": "boolean"
|
|
},
|
|
"hide_on_full_charge": {
|
|
"description": "Hide the widget if the battery is at full charge",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Cpu"
|
|
],
|
|
"properties": {
|
|
"Cpu": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Cpu widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Date"
|
|
],
|
|
"properties": {
|
|
"Date": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"format"
|
|
],
|
|
"properties": {
|
|
"enable": {
|
|
"description": "Enable the Date widget",
|
|
"type": "boolean"
|
|
},
|
|
"format": {
|
|
"description": "Set the Date format",
|
|
"oneOf": [
|
|
{
|
|
"description": "Month/Date/Year format (09/08/24)",
|
|
"type": "string",
|
|
"enum": [
|
|
"MonthDateYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Year-Month-Date format (2024-09-08)",
|
|
"type": "string",
|
|
"enum": [
|
|
"YearMonthDate"
|
|
]
|
|
},
|
|
{
|
|
"description": "Date-Month-Year format (8-Sep-2024)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DateMonthYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Day Date Month Year format (8 September 2024)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DayDateMonthYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "object",
|
|
"required": [
|
|
"Custom"
|
|
],
|
|
"properties": {
|
|
"Custom": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"description": "Custom format with modifiers",
|
|
"type": "object",
|
|
"required": [
|
|
"CustomModifiers"
|
|
],
|
|
"properties": {
|
|
"CustomModifiers": {
|
|
"description": "Custom format with additive modifiers for integer format specifiers",
|
|
"type": "object",
|
|
"required": [
|
|
"format",
|
|
"modifiers"
|
|
],
|
|
"properties": {
|
|
"format": {
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "string"
|
|
},
|
|
"modifiers": {
|
|
"description": "Additive modifiers for integer format specifiers (e.g. { \"%U\": 1 } to increment the zero-indexed week number by 1)",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"timezone": {
|
|
"description": "TimeZone (https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html)\n\nUse a custom format to display additional information, i.e.: ```json { \"Date\": { \"enable\": true, \"format\": { \"Custom\": \"%D %Z (Tokyo)\" }, \"timezone\": \"Asia/Tokyo\" } } ```",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Keyboard"
|
|
],
|
|
"properties": {
|
|
"Keyboard": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 1 second)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Input widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Komorebi"
|
|
],
|
|
"properties": {
|
|
"Komorebi": {
|
|
"type": "object",
|
|
"properties": {
|
|
"configuration_switcher": {
|
|
"description": "Configure the Configuration Switcher widget",
|
|
"type": "object",
|
|
"required": [
|
|
"configurations",
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"configurations": {
|
|
"description": "A map of display friendly name => path to configuration.json",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Configurations widget",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"focused_window": {
|
|
"description": "Configure the Focused Window widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the currently focused window",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Focused Window widget",
|
|
"type": "boolean"
|
|
},
|
|
"show_icon": {
|
|
"description": "DEPRECATED: use 'display' instead (Show the icon of the currently focused window)",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"description": "Configure the Layout widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the current layout",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Layout widget",
|
|
"type": "boolean"
|
|
},
|
|
"options": {
|
|
"description": "List of layout options",
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"BSP",
|
|
"Columns",
|
|
"Rows",
|
|
"VerticalStack",
|
|
"HorizontalStack",
|
|
"UltrawideVerticalStack",
|
|
"Grid",
|
|
"RightMainVerticalStack"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"workspace_layer": {
|
|
"description": "Configure the Workspace Layer widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the current layer",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Workspace Layer widget",
|
|
"type": "boolean"
|
|
},
|
|
"show_when_tiling": {
|
|
"description": "Show the widget event if the layer is Tiling",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"workspaces": {
|
|
"description": "Configure the Workspaces widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"hide_empty_workspaces"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the workspace",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show all icons only",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIcons"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show both all icons and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIconsAndText"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show all icons and text for the selected element, and all icons on the rest",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIconsAndTextOnSelected"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Existing"
|
|
],
|
|
"properties": {
|
|
"Existing": {
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Workspaces widget",
|
|
"type": "boolean"
|
|
},
|
|
"hide_empty_workspaces": {
|
|
"description": "Hide workspaces without any windows",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Media"
|
|
],
|
|
"properties": {
|
|
"Media": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"enable": {
|
|
"description": "Enable the Media widget",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Memory"
|
|
],
|
|
"properties": {
|
|
"Memory": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Memory widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Network"
|
|
],
|
|
"properties": {
|
|
"Network": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"show_network_activity",
|
|
"show_total_data_transmitted"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Network widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"network_activity_fill_characters": {
|
|
"description": "Characters to reserve for network activity data",
|
|
"type": "integer",
|
|
"format": "uint",
|
|
"minimum": 0.0
|
|
},
|
|
"show_default_interface": {
|
|
"description": "Show default interface",
|
|
"type": "boolean"
|
|
},
|
|
"show_network_activity": {
|
|
"description": "Show network activity",
|
|
"type": "boolean"
|
|
},
|
|
"show_total_data_transmitted": {
|
|
"description": "Show total data transmitted",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Storage"
|
|
],
|
|
"properties": {
|
|
"Storage": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Storage widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Time"
|
|
],
|
|
"properties": {
|
|
"Time": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"format"
|
|
],
|
|
"properties": {
|
|
"changing_icon": {
|
|
"description": "Change the icon depending on the time. The default icon is used between 8:30 and 12:00. (default: false)",
|
|
"type": "boolean"
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Time widget",
|
|
"type": "boolean"
|
|
},
|
|
"format": {
|
|
"description": "Set the Time format",
|
|
"oneOf": [
|
|
{
|
|
"description": "Twelve-hour format (with seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwelveHour"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twelve-hour format (without seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwelveHourWithoutSeconds"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format (with seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwentyFourHour"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format (without seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwentyFourHourWithoutSeconds"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format displayed as a binary clock with circles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)",
|
|
"type": "string",
|
|
"enum": [
|
|
"BinaryCircle"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format displayed as a binary clock with rectangles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)",
|
|
"type": "string",
|
|
"enum": [
|
|
"BinaryRectangle"
|
|
]
|
|
},
|
|
{
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "object",
|
|
"required": [
|
|
"Custom"
|
|
],
|
|
"properties": {
|
|
"Custom": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"timezone": {
|
|
"description": "TimeZone (https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html)\n\nUse a custom format to display additional information, i.e.: ```json { \"Time\": { \"enable\": true, \"format\": { \"Custom\": \"%T %Z (Tokyo)\" }, \"timezone\": \"Asia/Tokyo\" } } ```",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Update"
|
|
],
|
|
"properties": {
|
|
"Update": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 12 hours)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Update widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"margin": {
|
|
"description": "Bar margin. Use one value for all sides or use a grouped margin for horizontal and/or vertical definition which can each take a single value for a symmetric margin or two values for each side, i.e.: ```json \"margin\": { \"horizontal\": 10 } ``` or: ```json \"margin\": { \"vertical\": [top, bottom] } ``` You can also set individual margin on each side like this: ```json \"margin\": { \"top\": 10, \"bottom\": 10, \"left\": 10, \"right\": 10, } ``` By default, margin is set to 0 on all sides.",
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"bottom",
|
|
"left",
|
|
"right",
|
|
"top"
|
|
],
|
|
"properties": {
|
|
"bottom": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"left": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"right": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"top": {
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"horizontal": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
],
|
|
"maxItems": 2,
|
|
"minItems": 2
|
|
}
|
|
]
|
|
},
|
|
"vertical": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
],
|
|
"maxItems": 2,
|
|
"minItems": 2
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"max_label_width": {
|
|
"description": "Max label width before text truncation (default: 400.0)",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"monitor": {
|
|
"description": "The monitor index or the full monitor options",
|
|
"anyOf": [
|
|
{
|
|
"description": "The monitor index where you want the bar to show",
|
|
"type": "integer",
|
|
"format": "uint",
|
|
"minimum": 0.0
|
|
},
|
|
{
|
|
"description": "The full monitor options with the index and an optional work_area_offset",
|
|
"type": "object",
|
|
"required": [
|
|
"index"
|
|
],
|
|
"properties": {
|
|
"index": {
|
|
"description": "Komorebi monitor index of the monitor on which to render the bar",
|
|
"type": "integer",
|
|
"format": "uint",
|
|
"minimum": 0.0
|
|
},
|
|
"work_area_offset": {
|
|
"description": "Automatically apply a work area offset for this monitor to accommodate the bar",
|
|
"type": "object",
|
|
"required": [
|
|
"bottom",
|
|
"left",
|
|
"right",
|
|
"top"
|
|
],
|
|
"properties": {
|
|
"bottom": {
|
|
"description": "The bottom point in a Win32 Rect",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"left": {
|
|
"description": "The left point in a Win32 Rect",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"right": {
|
|
"description": "The right point in a Win32 Rect",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"top": {
|
|
"description": "The top point in a Win32 Rect",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"padding": {
|
|
"description": "Bar padding. Use one value for all sides or use a grouped padding for horizontal and/or vertical definition which can each take a single value for a symmetric padding or two values for each side, i.e.: ```json \"padding\": { \"horizontal\": 10 } ``` or: ```json \"padding\": { \"horizontal\": [left, right] } ``` You can also set individual padding on each side like this: ```json \"padding\": { \"top\": 10, \"bottom\": 10, \"left\": 10, \"right\": 10, } ``` By default, padding is set to 10 on all sides.",
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"bottom",
|
|
"left",
|
|
"right",
|
|
"top"
|
|
],
|
|
"properties": {
|
|
"bottom": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"left": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"right": {
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"top": {
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"horizontal": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
],
|
|
"maxItems": 2,
|
|
"minItems": 2
|
|
}
|
|
]
|
|
},
|
|
"vertical": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
{
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
],
|
|
"maxItems": 2,
|
|
"minItems": 2
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"position": {
|
|
"description": "Bar positioning options",
|
|
"type": "object",
|
|
"properties": {
|
|
"end": {
|
|
"description": "The desired size of the bar from the starting position (usually monitor width x desired height)",
|
|
"type": "object",
|
|
"required": [
|
|
"x",
|
|
"y"
|
|
],
|
|
"properties": {
|
|
"x": {
|
|
"description": "X coordinate",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"y": {
|
|
"description": "Y coordinate",
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
}
|
|
},
|
|
"start": {
|
|
"description": "The desired starting position of the bar (0,0 = top left of the screen)",
|
|
"type": "object",
|
|
"required": [
|
|
"x",
|
|
"y"
|
|
],
|
|
"properties": {
|
|
"x": {
|
|
"description": "X coordinate",
|
|
"type": "number",
|
|
"format": "float"
|
|
},
|
|
"y": {
|
|
"description": "Y coordinate",
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right_widgets": {
|
|
"description": "Right side widgets (ordered left-to-right)",
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Battery"
|
|
],
|
|
"properties": {
|
|
"Battery": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Battery widget",
|
|
"type": "boolean"
|
|
},
|
|
"hide_on_full_charge": {
|
|
"description": "Hide the widget if the battery is at full charge",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Cpu"
|
|
],
|
|
"properties": {
|
|
"Cpu": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Cpu widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Date"
|
|
],
|
|
"properties": {
|
|
"Date": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"format"
|
|
],
|
|
"properties": {
|
|
"enable": {
|
|
"description": "Enable the Date widget",
|
|
"type": "boolean"
|
|
},
|
|
"format": {
|
|
"description": "Set the Date format",
|
|
"oneOf": [
|
|
{
|
|
"description": "Month/Date/Year format (09/08/24)",
|
|
"type": "string",
|
|
"enum": [
|
|
"MonthDateYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Year-Month-Date format (2024-09-08)",
|
|
"type": "string",
|
|
"enum": [
|
|
"YearMonthDate"
|
|
]
|
|
},
|
|
{
|
|
"description": "Date-Month-Year format (8-Sep-2024)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DateMonthYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Day Date Month Year format (8 September 2024)",
|
|
"type": "string",
|
|
"enum": [
|
|
"DayDateMonthYear"
|
|
]
|
|
},
|
|
{
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "object",
|
|
"required": [
|
|
"Custom"
|
|
],
|
|
"properties": {
|
|
"Custom": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"description": "Custom format with modifiers",
|
|
"type": "object",
|
|
"required": [
|
|
"CustomModifiers"
|
|
],
|
|
"properties": {
|
|
"CustomModifiers": {
|
|
"description": "Custom format with additive modifiers for integer format specifiers",
|
|
"type": "object",
|
|
"required": [
|
|
"format",
|
|
"modifiers"
|
|
],
|
|
"properties": {
|
|
"format": {
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "string"
|
|
},
|
|
"modifiers": {
|
|
"description": "Additive modifiers for integer format specifiers (e.g. { \"%U\": 1 } to increment the zero-indexed week number by 1)",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"timezone": {
|
|
"description": "TimeZone (https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html)\n\nUse a custom format to display additional information, i.e.: ```json { \"Date\": { \"enable\": true, \"format\": { \"Custom\": \"%D %Z (Tokyo)\" }, \"timezone\": \"Asia/Tokyo\" } } ```",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Keyboard"
|
|
],
|
|
"properties": {
|
|
"Keyboard": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 1 second)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Input widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Komorebi"
|
|
],
|
|
"properties": {
|
|
"Komorebi": {
|
|
"type": "object",
|
|
"properties": {
|
|
"configuration_switcher": {
|
|
"description": "Configure the Configuration Switcher widget",
|
|
"type": "object",
|
|
"required": [
|
|
"configurations",
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"configurations": {
|
|
"description": "A map of display friendly name => path to configuration.json",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Configurations widget",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"focused_window": {
|
|
"description": "Configure the Focused Window widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the currently focused window",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Focused Window widget",
|
|
"type": "boolean"
|
|
},
|
|
"show_icon": {
|
|
"description": "DEPRECATED: use 'display' instead (Show the icon of the currently focused window)",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"description": "Configure the Layout widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the current layout",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Layout widget",
|
|
"type": "boolean"
|
|
},
|
|
"options": {
|
|
"description": "List of layout options",
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"BSP",
|
|
"Columns",
|
|
"Rows",
|
|
"VerticalStack",
|
|
"HorizontalStack",
|
|
"UltrawideVerticalStack",
|
|
"Grid",
|
|
"RightMainVerticalStack"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"workspace_layer": {
|
|
"description": "Configure the Workspace Layer widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the current layer",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Workspace Layer widget",
|
|
"type": "boolean"
|
|
},
|
|
"show_when_tiling": {
|
|
"description": "Show the widget event if the layer is Tiling",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"workspaces": {
|
|
"description": "Configure the Workspaces widget",
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"hide_empty_workspaces"
|
|
],
|
|
"properties": {
|
|
"display": {
|
|
"description": "Display format of the workspace",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show all icons only",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIcons"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show both all icons and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIconsAndText"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show all icons and text for the selected element, and all icons on the rest",
|
|
"type": "string",
|
|
"enum": [
|
|
"AllIconsAndTextOnSelected"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Existing"
|
|
],
|
|
"properties": {
|
|
"Existing": {
|
|
"oneOf": [
|
|
{
|
|
"description": "Show only icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show only text",
|
|
"type": "string",
|
|
"enum": [
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Komorebi Workspaces widget",
|
|
"type": "boolean"
|
|
},
|
|
"hide_empty_workspaces": {
|
|
"description": "Hide workspaces without any windows",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Media"
|
|
],
|
|
"properties": {
|
|
"Media": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"enable": {
|
|
"description": "Enable the Media widget",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Memory"
|
|
],
|
|
"properties": {
|
|
"Memory": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Memory widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Network"
|
|
],
|
|
"properties": {
|
|
"Network": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"show_network_activity",
|
|
"show_total_data_transmitted"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Network widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"network_activity_fill_characters": {
|
|
"description": "Characters to reserve for network activity data",
|
|
"type": "integer",
|
|
"format": "uint",
|
|
"minimum": 0.0
|
|
},
|
|
"show_default_interface": {
|
|
"description": "Show default interface",
|
|
"type": "boolean"
|
|
},
|
|
"show_network_activity": {
|
|
"description": "Show network activity",
|
|
"type": "boolean"
|
|
},
|
|
"show_total_data_transmitted": {
|
|
"description": "Show total data transmitted",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Storage"
|
|
],
|
|
"properties": {
|
|
"Storage": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 10 seconds)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Storage widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Time"
|
|
],
|
|
"properties": {
|
|
"Time": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable",
|
|
"format"
|
|
],
|
|
"properties": {
|
|
"changing_icon": {
|
|
"description": "Change the icon depending on the time. The default icon is used between 8:30 and 12:00. (default: false)",
|
|
"type": "boolean"
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Time widget",
|
|
"type": "boolean"
|
|
},
|
|
"format": {
|
|
"description": "Set the Time format",
|
|
"oneOf": [
|
|
{
|
|
"description": "Twelve-hour format (with seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwelveHour"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twelve-hour format (without seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwelveHourWithoutSeconds"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format (with seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwentyFourHour"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format (without seconds)",
|
|
"type": "string",
|
|
"enum": [
|
|
"TwentyFourHourWithoutSeconds"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format displayed as a binary clock with circles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)",
|
|
"type": "string",
|
|
"enum": [
|
|
"BinaryCircle"
|
|
]
|
|
},
|
|
{
|
|
"description": "Twenty-four-hour format displayed as a binary clock with rectangles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)",
|
|
"type": "string",
|
|
"enum": [
|
|
"BinaryRectangle"
|
|
]
|
|
},
|
|
{
|
|
"description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)",
|
|
"type": "object",
|
|
"required": [
|
|
"Custom"
|
|
],
|
|
"properties": {
|
|
"Custom": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"timezone": {
|
|
"description": "TimeZone (https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html)\n\nUse a custom format to display additional information, i.e.: ```json { \"Time\": { \"enable\": true, \"format\": { \"Custom\": \"%T %Z (Tokyo)\" }, \"timezone\": \"Asia/Tokyo\" } } ```",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"Update"
|
|
],
|
|
"properties": {
|
|
"Update": {
|
|
"type": "object",
|
|
"required": [
|
|
"enable"
|
|
],
|
|
"properties": {
|
|
"data_refresh_interval": {
|
|
"description": "Data refresh interval (default: 12 hours)",
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"enable": {
|
|
"description": "Enable the Update widget",
|
|
"type": "boolean"
|
|
},
|
|
"label_prefix": {
|
|
"description": "Display label prefix",
|
|
"oneOf": [
|
|
{
|
|
"description": "Show no prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"None"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon",
|
|
"type": "string",
|
|
"enum": [
|
|
"Icon"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show text",
|
|
"type": "string",
|
|
"enum": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"description": "Show an icon and text",
|
|
"type": "string",
|
|
"enum": [
|
|
"IconAndText"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"theme": {
|
|
"description": "Theme",
|
|
"oneOf": [
|
|
{
|
|
"description": "A theme from catppuccin-egui",
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"palette"
|
|
],
|
|
"properties": {
|
|
"accent": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Rosewater",
|
|
"Flamingo",
|
|
"Pink",
|
|
"Mauve",
|
|
"Red",
|
|
"Maroon",
|
|
"Peach",
|
|
"Yellow",
|
|
"Green",
|
|
"Teal",
|
|
"Sky",
|
|
"Sapphire",
|
|
"Blue",
|
|
"Lavender",
|
|
"Text",
|
|
"Subtext1",
|
|
"Subtext0",
|
|
"Overlay2",
|
|
"Overlay1",
|
|
"Overlay0",
|
|
"Surface2",
|
|
"Surface1",
|
|
"Surface0",
|
|
"Base",
|
|
"Mantle",
|
|
"Crust"
|
|
]
|
|
},
|
|
"name": {
|
|
"description": "Name of the Catppuccin theme (theme previews: https://github.com/catppuccin/catppuccin)",
|
|
"type": "string",
|
|
"enum": [
|
|
"Frappe",
|
|
"Latte",
|
|
"Macchiato",
|
|
"Mocha"
|
|
]
|
|
},
|
|
"palette": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Catppuccin"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "A theme from base16-egui-themes",
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"palette"
|
|
],
|
|
"properties": {
|
|
"accent": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Base00",
|
|
"Base01",
|
|
"Base02",
|
|
"Base03",
|
|
"Base04",
|
|
"Base05",
|
|
"Base06",
|
|
"Base07",
|
|
"Base08",
|
|
"Base09",
|
|
"Base0A",
|
|
"Base0B",
|
|
"Base0C",
|
|
"Base0D",
|
|
"Base0E",
|
|
"Base0F"
|
|
]
|
|
},
|
|
"name": {
|
|
"description": "Name of the Base16 theme (theme previews: https://tinted-theming.github.io/tinted-gallery/)",
|
|
"type": "string",
|
|
"enum": [
|
|
"3024",
|
|
"Apathy",
|
|
"Apprentice",
|
|
"Ashes",
|
|
"AtelierCaveLight",
|
|
"AtelierCave",
|
|
"AtelierDuneLight",
|
|
"AtelierDune",
|
|
"AtelierEstuaryLight",
|
|
"AtelierEstuary",
|
|
"AtelierForestLight",
|
|
"AtelierForest",
|
|
"AtelierHeathLight",
|
|
"AtelierHeath",
|
|
"AtelierLakesideLight",
|
|
"AtelierLakeside",
|
|
"AtelierPlateauLight",
|
|
"AtelierPlateau",
|
|
"AtelierSavannaLight",
|
|
"AtelierSavanna",
|
|
"AtelierSeasideLight",
|
|
"AtelierSeaside",
|
|
"AtelierSulphurpoolLight",
|
|
"AtelierSulphurpool",
|
|
"Atlas",
|
|
"AyuDark",
|
|
"AyuLight",
|
|
"AyuMirage",
|
|
"Aztec",
|
|
"Bespin",
|
|
"BlackMetalBathory",
|
|
"BlackMetalBurzum",
|
|
"BlackMetalDarkFuneral",
|
|
"BlackMetalGorgoroth",
|
|
"BlackMetalImmortal",
|
|
"BlackMetalKhold",
|
|
"BlackMetalMarduk",
|
|
"BlackMetalMayhem",
|
|
"BlackMetalNile",
|
|
"BlackMetalVenom",
|
|
"BlackMetal",
|
|
"Blueforest",
|
|
"Blueish",
|
|
"Brewer",
|
|
"Bright",
|
|
"Brogrammer",
|
|
"BrushtreesDark",
|
|
"Brushtrees",
|
|
"Caroline",
|
|
"CatppuccinFrappe",
|
|
"CatppuccinLatte",
|
|
"CatppuccinMacchiato",
|
|
"CatppuccinMocha",
|
|
"Chalk",
|
|
"Circus",
|
|
"ClassicDark",
|
|
"ClassicLight",
|
|
"Codeschool",
|
|
"Colors",
|
|
"Cupcake",
|
|
"Cupertino",
|
|
"DaOneBlack",
|
|
"DaOneGray",
|
|
"DaOneOcean",
|
|
"DaOnePaper",
|
|
"DaOneSea",
|
|
"DaOneWhite",
|
|
"DanqingLight",
|
|
"Danqing",
|
|
"Darcula",
|
|
"Darkmoss",
|
|
"Darktooth",
|
|
"Darkviolet",
|
|
"Decaf",
|
|
"DefaultDark",
|
|
"DefaultLight",
|
|
"Dirtysea",
|
|
"Dracula",
|
|
"EdgeDark",
|
|
"EdgeLight",
|
|
"Eighties",
|
|
"EmbersLight",
|
|
"Embers",
|
|
"Emil",
|
|
"EquilibriumDark",
|
|
"EquilibriumGrayDark",
|
|
"EquilibriumGrayLight",
|
|
"EquilibriumLight",
|
|
"Eris",
|
|
"Espresso",
|
|
"EvaDim",
|
|
"Eva",
|
|
"EvenokDark",
|
|
"EverforestDarkHard",
|
|
"Everforest",
|
|
"Flat",
|
|
"Framer",
|
|
"FruitSoda",
|
|
"Gigavolt",
|
|
"Github",
|
|
"GoogleDark",
|
|
"GoogleLight",
|
|
"Gotham",
|
|
"GrayscaleDark",
|
|
"GrayscaleLight",
|
|
"Greenscreen",
|
|
"Gruber",
|
|
"GruvboxDarkHard",
|
|
"GruvboxDarkMedium",
|
|
"GruvboxDarkPale",
|
|
"GruvboxDarkSoft",
|
|
"GruvboxLightHard",
|
|
"GruvboxLightMedium",
|
|
"GruvboxLightSoft",
|
|
"GruvboxMaterialDarkHard",
|
|
"GruvboxMaterialDarkMedium",
|
|
"GruvboxMaterialDarkSoft",
|
|
"GruvboxMaterialLightHard",
|
|
"GruvboxMaterialLightMedium",
|
|
"GruvboxMaterialLightSoft",
|
|
"Hardcore",
|
|
"Harmonic16Dark",
|
|
"Harmonic16Light",
|
|
"HeetchLight",
|
|
"Heetch",
|
|
"Helios",
|
|
"Hopscotch",
|
|
"HorizonDark",
|
|
"HorizonLight",
|
|
"HorizonTerminalDark",
|
|
"HorizonTerminalLight",
|
|
"HumanoidDark",
|
|
"HumanoidLight",
|
|
"IaDark",
|
|
"IaLight",
|
|
"Icy",
|
|
"Irblack",
|
|
"Isotope",
|
|
"Jabuti",
|
|
"Kanagawa",
|
|
"Katy",
|
|
"Kimber",
|
|
"Lime",
|
|
"Macintosh",
|
|
"Marrakesh",
|
|
"Materia",
|
|
"MaterialDarker",
|
|
"MaterialLighter",
|
|
"MaterialPalenight",
|
|
"MaterialVivid",
|
|
"Material",
|
|
"MeasuredDark",
|
|
"MeasuredLight",
|
|
"MellowPurple",
|
|
"MexicoLight",
|
|
"Mocha",
|
|
"Monokai",
|
|
"Moonlight",
|
|
"Mountain",
|
|
"Nebula",
|
|
"NordLight",
|
|
"Nord",
|
|
"Nova",
|
|
"Ocean",
|
|
"Oceanicnext",
|
|
"OneLight",
|
|
"OnedarkDark",
|
|
"Onedark",
|
|
"OutrunDark",
|
|
"OxocarbonDark",
|
|
"OxocarbonLight",
|
|
"Pandora",
|
|
"PapercolorDark",
|
|
"PapercolorLight",
|
|
"Paraiso",
|
|
"Pasque",
|
|
"Phd",
|
|
"Pico",
|
|
"Pinky",
|
|
"Pop",
|
|
"Porple",
|
|
"PreciousDarkEleven",
|
|
"PreciousDarkFifteen",
|
|
"PreciousLightWarm",
|
|
"PreciousLightWhite",
|
|
"PrimerDarkDimmed",
|
|
"PrimerDark",
|
|
"PrimerLight",
|
|
"Purpledream",
|
|
"Qualia",
|
|
"Railscasts",
|
|
"Rebecca",
|
|
"RosePineDawn",
|
|
"RosePineMoon",
|
|
"RosePine",
|
|
"Saga",
|
|
"Sagelight",
|
|
"Sakura",
|
|
"Sandcastle",
|
|
"SelenizedBlack",
|
|
"SelenizedDark",
|
|
"SelenizedLight",
|
|
"SelenizedWhite",
|
|
"Seti",
|
|
"ShadesOfPurple",
|
|
"ShadesmearDark",
|
|
"ShadesmearLight",
|
|
"Shapeshifter",
|
|
"SilkDark",
|
|
"SilkLight",
|
|
"Snazzy",
|
|
"SolarflareLight",
|
|
"Solarflare",
|
|
"SolarizedDark",
|
|
"SolarizedLight",
|
|
"Spaceduck",
|
|
"Spacemacs",
|
|
"Sparky",
|
|
"StandardizedDark",
|
|
"StandardizedLight",
|
|
"Stella",
|
|
"StillAlive",
|
|
"Summercamp",
|
|
"SummerfruitDark",
|
|
"SummerfruitLight",
|
|
"SynthMidnightDark",
|
|
"SynthMidnightLight",
|
|
"Tango",
|
|
"Tarot",
|
|
"Tender",
|
|
"TerracottaDark",
|
|
"Terracotta",
|
|
"TokyoCityDark",
|
|
"TokyoCityLight",
|
|
"TokyoCityTerminalDark",
|
|
"TokyoCityTerminalLight",
|
|
"TokyoNightDark",
|
|
"TokyoNightLight",
|
|
"TokyoNightMoon",
|
|
"TokyoNightStorm",
|
|
"TokyoNightTerminalDark",
|
|
"TokyoNightTerminalLight",
|
|
"TokyoNightTerminalStorm",
|
|
"TokyodarkTerminal",
|
|
"Tokyodark",
|
|
"TomorrowNightEighties",
|
|
"TomorrowNight",
|
|
"Tomorrow",
|
|
"Tube",
|
|
"Twilight",
|
|
"UnikittyDark",
|
|
"UnikittyLight",
|
|
"UnikittyReversible",
|
|
"Uwunicorn",
|
|
"Vesper",
|
|
"Vice",
|
|
"Vulcan",
|
|
"Windows10Light",
|
|
"Windows10",
|
|
"Windows95Light",
|
|
"Windows95",
|
|
"WindowsHighcontrastLight",
|
|
"WindowsHighcontrast",
|
|
"WindowsNtLight",
|
|
"WindowsNt",
|
|
"Woodland",
|
|
"XcodeDusk",
|
|
"Zenbones",
|
|
"Zenburn"
|
|
]
|
|
},
|
|
"palette": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Base16"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"transparency_alpha": {
|
|
"description": "Alpha value for the color transparency [[0-255]] (default: 200)",
|
|
"type": "integer",
|
|
"format": "uint8",
|
|
"minimum": 0.0
|
|
},
|
|
"widget_spacing": {
|
|
"description": "Spacing between widgets (default: 10.0)",
|
|
"type": "number",
|
|
"format": "float"
|
|
}
|
|
}
|
|
}
|