Last active
December 9, 2024 23:06
-
-
Save LGUG2Z/f2faa04f4e84d9c18b57a7cf9cbcfe0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "KomobarConfig", | |
"description": "The `komorebi.bar.json` configuration file reference for `v0.1.31`", | |
"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" | |
}, | |
"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 | |
} | |
] | |
}, | |
"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", | |
"required": [ | |
"workspaces" | |
], | |
"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 both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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 both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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" | |
} | |
] | |
} | |
} | |
} | |
}, | |
"workspaces": { | |
"description": "Configure the Workspaces widget", | |
"type": "object", | |
"required": [ | |
"enable", | |
"hide_empty_workspaces" | |
], | |
"properties": { | |
"display": { | |
"description": "Display format of the workspace", | |
"oneOf": [ | |
{ | |
"description": "Show only icon", | |
"type": "string", | |
"enum": [ | |
"Icon" | |
] | |
}, | |
{ | |
"description": "Show only text", | |
"type": "string", | |
"enum": [ | |
"Text" | |
] | |
}, | |
{ | |
"description": "Show both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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": { | |
"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": "Twenty-four-hour format (with seconds)", | |
"type": "string", | |
"enum": [ | |
"TwentyFourHour" | |
] | |
}, | |
{ | |
"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" | |
] | |
} | |
] | |
} | |
} | |
} | |
}, | |
"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 | |
} | |
} | |
} | |
] | |
}, | |
"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" | |
}, | |
"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 | |
} | |
] | |
}, | |
"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", | |
"required": [ | |
"workspaces" | |
], | |
"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 both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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 both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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" | |
} | |
] | |
} | |
} | |
} | |
}, | |
"workspaces": { | |
"description": "Configure the Workspaces widget", | |
"type": "object", | |
"required": [ | |
"enable", | |
"hide_empty_workspaces" | |
], | |
"properties": { | |
"display": { | |
"description": "Display format of the workspace", | |
"oneOf": [ | |
{ | |
"description": "Show only icon", | |
"type": "string", | |
"enum": [ | |
"Icon" | |
] | |
}, | |
{ | |
"description": "Show only text", | |
"type": "string", | |
"enum": [ | |
"Text" | |
] | |
}, | |
{ | |
"description": "Show both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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": { | |
"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": "Twenty-four-hour format (with seconds)", | |
"type": "string", | |
"enum": [ | |
"TwentyFourHour" | |
] | |
}, | |
{ | |
"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" | |
] | |
} | |
] | |
} | |
} | |
} | |
}, | |
"additionalProperties": false | |
} | |
] | |
} | |
}, | |
"max_label_width": { | |
"description": "Max label width before text truncation (default: 400.0)", | |
"type": "number", | |
"format": "float" | |
}, | |
"monitor": { | |
"description": "Monitor options", | |
"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" | |
} | |
} | |
} | |
} | |
}, | |
"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" | |
}, | |
"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 | |
} | |
] | |
}, | |
"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", | |
"required": [ | |
"workspaces" | |
], | |
"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 both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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 both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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" | |
} | |
] | |
} | |
} | |
} | |
}, | |
"workspaces": { | |
"description": "Configure the Workspaces widget", | |
"type": "object", | |
"required": [ | |
"enable", | |
"hide_empty_workspaces" | |
], | |
"properties": { | |
"display": { | |
"description": "Display format of the workspace", | |
"oneOf": [ | |
{ | |
"description": "Show only icon", | |
"type": "string", | |
"enum": [ | |
"Icon" | |
] | |
}, | |
{ | |
"description": "Show only text", | |
"type": "string", | |
"enum": [ | |
"Text" | |
] | |
}, | |
{ | |
"description": "Show both icon and text", | |
"type": "string", | |
"enum": [ | |
"IconAndText" | |
] | |
} | |
] | |
}, | |
"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": { | |
"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": "Twenty-four-hour format (with seconds)", | |
"type": "string", | |
"enum": [ | |
"TwentyFourHour" | |
] | |
}, | |
{ | |
"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" | |
] | |
} | |
] | |
} | |
} | |
} | |
}, | |
"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/base16-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" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment