{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "KomobarConfig", "description": "The `komorebi.bar.json` configuration file reference for `v0.1.40`", "type": "object", "properties": { "center_widgets": { "description": "Center widgets (ordered left-to-right)", "type": [ "array", "null" ], "items": { "$ref": "#/$defs/WidgetConfig" } }, "font_family": { "description": "Font family", "type": [ "string", "null" ] }, "font_size": { "description": "Font size", "type": [ "number", "null" ], "format": "float", "default": 12.5 }, "frame": { "description": "Frame options (see: https://docs.rs/egui/latest/egui/containers/frame/struct.Frame.html)", "anyOf": [ { "$ref": "#/$defs/FrameConfig" }, { "type": "null" } ] }, "grouping": { "description": "Visual grouping for widgets", "anyOf": [ { "$ref": "#/$defs/Grouping" }, { "type": "null" } ] }, "height": { "description": "Bar height", "type": [ "number", "null" ], "format": "float", "default": 50.0 }, "icon_scale": { "description": "Scale of the icons relative to the font_size [[1.0-2.0]]", "type": [ "number", "null" ], "format": "float", "default": 1.399999976158142 }, "left_widgets": { "description": "Left side widgets (ordered left-to-right)", "type": "array", "items": { "$ref": "#/$defs/WidgetConfig" } }, "margin": { "description": "Bar margin. Use one value for all sides or use a grouped margin for horizontal and/or\nvertical definition which can each take a single value for a symmetric margin or two\nvalues for each side, i.e.:\n```json\n\"margin\": {\n \"horizontal\": 10\n}\n```\nor:\n```json\n\"margin\": {\n \"vertical\": [top, bottom]\n}\n```\nYou can also set individual margin on each side like this:\n```json\n\"margin\": {\n \"top\": 10,\n \"bottom\": 10,\n \"left\": 10,\n \"right\": 10,\n}\n```\nBy default, margin is set to 0 on all sides.", "anyOf": [ { "$ref": "#/$defs/SpacingKind" }, { "type": "null" } ] }, "max_label_width": { "description": "Max label width before text truncation", "type": [ "number", "null" ], "format": "float", "default": 400.0 }, "monitor": { "description": "The monitor index or the full monitor options", "$ref": "#/$defs/MonitorConfigOrIndex" }, "mouse": { "description": "Options for mouse interaction on the bar", "anyOf": [ { "$ref": "#/$defs/MouseConfig" }, { "type": "null" } ] }, "padding": { "description": "Bar padding. Use one value for all sides or use a grouped padding for horizontal and/or\nvertical definition which can each take a single value for a symmetric padding or two\nvalues for each side, i.e.:\n```json\n\"padding\": {\n \"horizontal\": 10\n}\n```\nor:\n```json\n\"padding\": {\n \"horizontal\": [left, right]\n}\n```\nYou can also set individual padding on each side like this:\n```json\n\"padding\": {\n \"top\": 10,\n \"bottom\": 10,\n \"left\": 10,\n \"right\": 10,\n}\n```\nBy default, padding is set to 10 on all sides.", "anyOf": [ { "$ref": "#/$defs/SpacingKind" }, { "type": "null" } ] }, "position": { "description": "Bar positioning options", "anyOf": [ { "$ref": "#/$defs/PositionConfig" }, { "type": "null" } ] }, "right_widgets": { "description": "Right side widgets (ordered left-to-right)", "type": "array", "items": { "$ref": "#/$defs/WidgetConfig" } }, "theme": { "description": "Theme", "anyOf": [ { "$ref": "#/$defs/KomobarTheme" }, { "type": "null" } ] }, "transparency_alpha": { "description": "Alpha value for the color transparency [[0-255]]", "type": [ "integer", "null" ], "format": "uint8", "default": 200, "maximum": 255, "minimum": 0 }, "widget_spacing": { "description": "Spacing between widgets", "type": [ "number", "null" ], "format": "float", "default": 10.0 } }, "required": [ "monitor", "left_widgets", "right_widgets" ], "$defs": { "AnimationPrefix": { "type": "string", "enum": [ "movement", "transparency" ] }, "AnimationStyle": { "description": "Mathematical function which describes the rate at which a value changes", "oneOf": [ { "description": "Linear", "type": "string", "const": "Linear" }, { "description": "Ease in sine", "type": "string", "const": "EaseInSine" }, { "description": "Ease out sine", "type": "string", "const": "EaseOutSine" }, { "description": "Ease in out sine", "type": "string", "const": "EaseInOutSine" }, { "description": "Ease in quad", "type": "string", "const": "EaseInQuad" }, { "description": "Ease out quad", "type": "string", "const": "EaseOutQuad" }, { "description": "Ease in out quad", "type": "string", "const": "EaseInOutQuad" }, { "description": "Ease in cubic", "type": "string", "const": "EaseInCubic" }, { "description": "Ease out cubic", "type": "string", "const": "EaseOutCubic" }, { "description": "Ease in out cubic", "type": "string", "const": "EaseInOutCubic" }, { "description": "Ease in quart", "type": "string", "const": "EaseInQuart" }, { "description": "Ease out quart", "type": "string", "const": "EaseOutQuart" }, { "description": "Ease in out quart", "type": "string", "const": "EaseInOutQuart" }, { "description": "Ease in quint", "type": "string", "const": "EaseInQuint" }, { "description": "Ease out quint", "type": "string", "const": "EaseOutQuint" }, { "description": "Ease in out quint", "type": "string", "const": "EaseInOutQuint" }, { "description": "Ease in expo", "type": "string", "const": "EaseInExpo" }, { "description": "Ease out expo", "type": "string", "const": "EaseOutExpo" }, { "description": "Ease in out expo", "type": "string", "const": "EaseInOutExpo" }, { "description": "Ease in circ", "type": "string", "const": "EaseInCirc" }, { "description": "Ease out circ", "type": "string", "const": "EaseOutCirc" }, { "description": "Ease in out circ", "type": "string", "const": "EaseInOutCirc" }, { "description": "Ease in back", "type": "string", "const": "EaseInBack" }, { "description": "Ease out back", "type": "string", "const": "EaseOutBack" }, { "description": "Ease in out back", "type": "string", "const": "EaseInOutBack" }, { "description": "Ease in elastic", "type": "string", "const": "EaseInElastic" }, { "description": "Ease out elastic", "type": "string", "const": "EaseOutElastic" }, { "description": "Ease in out elastic", "type": "string", "const": "EaseInOutElastic" }, { "description": "Ease in bounce", "type": "string", "const": "EaseInBounce" }, { "description": "Ease out bounce", "type": "string", "const": "EaseOutBounce" }, { "description": "Ease in out bounce", "type": "string", "const": "EaseInOutBounce" }, { "description": "Custom Cubic Bézier function", "type": "object", "properties": { "CubicBezier": { "type": "array", "maxItems": 4, "minItems": 4, "prefixItems": [ { "type": "number", "format": "double" }, { "type": "number", "format": "double" }, { "type": "number", "format": "double" }, { "type": "number", "format": "double" } ] } }, "additionalProperties": false, "required": [ "CubicBezier" ] } ] }, "AppConfig": { "type": "object", "properties": { "command": { "description": "Command to execute (e.g. path to the application or shell command).", "type": "string" }, "display": { "description": "Display format for this application button (optional). Overrides global format if set.", "anyOf": [ { "$ref": "#/$defs/ApplicationsDisplayFormat" }, { "type": "null" } ] }, "enable": { "description": "Whether to enable this application button (optional).\nInherits from the global `Applications` setting if omitted.", "type": [ "boolean", "null" ] }, "icon": { "description": "Optional icon: a path to an image or a text-based glyph (e.g., from Nerd Fonts).\nIf not set, and if the `command` is a path to an executable, an icon might be extracted from it.\nNote: glyphs require a compatible `font_family`.", "type": [ "string", "null" ] }, "name": { "description": "Display name of the application.", "type": "string" }, "show_command_on_hover": { "description": "Whether to show the launch command on hover (optional).\nInherits from the global `Applications` setting if omitted.", "type": [ "boolean", "null" ] } }, "required": [ "name", "command" ] }, "ApplicationIdentifier": { "description": "Application identifier", "oneOf": [ { "description": "Executable name", "type": "string", "const": "Exe" }, { "description": "Class", "type": "string", "const": "Class" }, { "description": "Window title", "type": "string", "const": "Title" }, { "description": "Executable path", "type": "string", "const": "Path" } ] }, "ApplicationsConfig": { "type": "object", "properties": { "display": { "description": "Default display format for all applications (optional).\nCould be overridden per application. Defaults to `Icon`.", "anyOf": [ { "$ref": "#/$defs/ApplicationsDisplayFormat" }, { "type": "null" } ] }, "enable": { "description": "Enables or disables the applications widget.", "type": "boolean" }, "items": { "description": "List of configured applications to display.", "type": "array", "items": { "$ref": "#/$defs/AppConfig" } }, "show_command_on_hover": { "description": "Whether to show the launch command on hover (optional).\nCould be overridden per application. Defaults to `false` if not set.", "type": [ "boolean", "null" ] }, "spacing": { "description": "Horizontal spacing between application buttons.", "type": [ "number", "null" ], "format": "float" } }, "required": [ "enable", "items" ] }, "ApplicationsDisplayFormat": { "oneOf": [ { "description": "Show only the application icon.", "type": "string", "const": "Icon" }, { "description": "Show only the application name as text.", "type": "string", "const": "Text" }, { "description": "Show both the application icon and name.", "type": "string", "const": "IconAndText" } ] }, "Axis": { "description": "Axis on which to perform an operation", "oneOf": [ { "description": "Horizontal axis", "type": "string", "const": "Horizontal" }, { "description": "Vertical axis", "type": "string", "const": "Vertical" }, { "description": "Both horizontal and vertical axes", "type": "string", "const": "HorizontalAndVertical" } ] }, "Base16": { "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" ] }, "Base16ColourPalette": { "description": "Base16 colour palette: https://github.com/chriskempson/base16", "type": "object", "properties": { "base_00": { "description": "Base00", "$ref": "#/$defs/Colour" }, "base_01": { "description": "Base01", "$ref": "#/$defs/Colour" }, "base_02": { "description": "Base02", "$ref": "#/$defs/Colour" }, "base_03": { "description": "Base03", "$ref": "#/$defs/Colour" }, "base_04": { "description": "Base04", "$ref": "#/$defs/Colour" }, "base_05": { "description": "Base05", "$ref": "#/$defs/Colour" }, "base_06": { "description": "Base06", "$ref": "#/$defs/Colour" }, "base_07": { "description": "Base07", "$ref": "#/$defs/Colour" }, "base_08": { "description": "Base08", "$ref": "#/$defs/Colour" }, "base_09": { "description": "Base09", "$ref": "#/$defs/Colour" }, "base_0a": { "description": "Base0A", "$ref": "#/$defs/Colour" }, "base_0b": { "description": "Base0B", "$ref": "#/$defs/Colour" }, "base_0c": { "description": "Base0C", "$ref": "#/$defs/Colour" }, "base_0d": { "description": "Base0D", "$ref": "#/$defs/Colour" }, "base_0e": { "description": "Base0E", "$ref": "#/$defs/Colour" }, "base_0f": { "description": "Base0F", "$ref": "#/$defs/Colour" } }, "required": [ "base_00", "base_01", "base_02", "base_03", "base_04", "base_05", "base_06", "base_07", "base_08", "base_09", "base_0a", "base_0b", "base_0c", "base_0d", "base_0e", "base_0f" ] }, "Base16Value": { "description": "Base16 value", "oneOf": [ { "description": "Base00", "type": "string", "const": "Base00" }, { "description": "Base01", "type": "string", "const": "Base01" }, { "description": "Base02", "type": "string", "const": "Base02" }, { "description": "Base03", "type": "string", "const": "Base03" }, { "description": "Base04", "type": "string", "const": "Base04" }, { "description": "Base05", "type": "string", "const": "Base05" }, { "description": "Base06", "type": "string", "const": "Base06" }, { "description": "Base07", "type": "string", "const": "Base07" }, { "description": "Base08", "type": "string", "const": "Base08" }, { "description": "Base09", "type": "string", "const": "Base09" }, { "description": "Base0A", "type": "string", "const": "Base0A" }, { "description": "Base0B", "type": "string", "const": "Base0B" }, { "description": "Base0C", "type": "string", "const": "Base0C" }, { "description": "Base0D", "type": "string", "const": "Base0D" }, { "description": "Base0E", "type": "string", "const": "Base0E" }, { "description": "Base0F", "type": "string", "const": "Base0F" } ] }, "BatteryConfig": { "type": "object", "properties": { "auto_select_under": { "description": "Select when the current percentage is under this value [[1-100]]", "type": [ "integer", "null" ], "format": "uint8", "maximum": 255, "minimum": 0 }, "data_refresh_interval": { "description": "Data refresh interval in seconds", "type": [ "integer", "null" ], "format": "uint64", "default": 10, "minimum": 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", "null" ] }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] } }, "required": [ "enable" ] }, "BorderImplementation": { "description": "Border style", "oneOf": [ { "description": "Use the adjustable komorebi border implementation", "type": "string", "const": "Komorebi" }, { "description": "Use the thin Windows accent border implementation", "type": "string", "const": "Windows" } ] }, "BorderStyle": { "description": "Border style", "oneOf": [ { "description": "Use the system border style", "type": "string", "const": "System" }, { "description": "Use the Windows 11-style rounded borders", "type": "string", "const": "Rounded" }, { "description": "Use the Windows 10-style square borders", "type": "string", "const": "Square" } ] }, "Catppuccin": { "description": "Catppuccin palette", "oneOf": [ { "description": "Frappe", "type": "string", "const": "Frappe" }, { "description": "Latte", "type": "string", "const": "Latte" }, { "description": "Macchiato", "type": "string", "const": "Macchiato" }, { "description": "Mocha", "type": "string", "const": "Mocha" } ] }, "CatppuccinValue": { "description": "Catppuccin Value", "oneOf": [ { "description": "Rosewater", "type": "string", "const": "Rosewater" }, { "description": "Flamingo", "type": "string", "const": "Flamingo" }, { "description": "Pink", "type": "string", "const": "Pink" }, { "description": "Mauve", "type": "string", "const": "Mauve" }, { "description": "Red", "type": "string", "const": "Red" }, { "description": "Maroon", "type": "string", "const": "Maroon" }, { "description": "Peach", "type": "string", "const": "Peach" }, { "description": "Yellow", "type": "string", "const": "Yellow" }, { "description": "Green", "type": "string", "const": "Green" }, { "description": "Teal", "type": "string", "const": "Teal" }, { "description": "Sky", "type": "string", "const": "Sky" }, { "description": "Sapphire", "type": "string", "const": "Sapphire" }, { "description": "Blue", "type": "string", "const": "Blue" }, { "description": "Lavender", "type": "string", "const": "Lavender" }, { "description": "Text", "type": "string", "const": "Text" }, { "description": "Subtext1", "type": "string", "const": "Subtext1" }, { "description": "Subtext0", "type": "string", "const": "Subtext0" }, { "description": "Overlay2", "type": "string", "const": "Overlay2" }, { "description": "Overlay1", "type": "string", "const": "Overlay1" }, { "description": "Overlay0", "type": "string", "const": "Overlay0" }, { "description": "Surface2", "type": "string", "const": "Surface2" }, { "description": "Surface1", "type": "string", "const": "Surface1" }, { "description": "Surface0", "type": "string", "const": "Surface0" }, { "description": "Base", "type": "string", "const": "Base" }, { "description": "Mantle", "type": "string", "const": "Mantle" }, { "description": "Crust", "type": "string", "const": "Crust" } ] }, "Colour": { "description": "Colour representation", "anyOf": [ { "description": "Colour represented as RGB", "$ref": "#/$defs/Rgb" }, { "description": "Colour represented as Hex", "$ref": "#/$defs/Hex" } ] }, "CpuConfig": { "type": "object", "properties": { "auto_select_over": { "description": "Select when the current percentage is over this value [[1-100]]", "type": [ "integer", "null" ], "format": "uint8", "maximum": 255, "minimum": 0 }, "data_refresh_interval": { "description": "Data refresh interval in seconds", "type": [ "integer", "null" ], "format": "uint64", "default": 10, "minimum": 0 }, "enable": { "description": "Enable the Cpu widget", "type": "boolean" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] } }, "required": [ "enable" ] }, "CustomModifiers": { "description": "Custom format with additive modifiers for integer format specifiers", "type": "object", "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" } } }, "required": [ "format", "modifiers" ] }, "CycleDirection": { "type": "string", "enum": [ "Previous", "Next" ] }, "DateConfig": { "type": "object", "properties": { "enable": { "description": "Enable the Date widget", "type": "boolean" }, "format": { "description": "Set the Date format", "$ref": "#/$defs/DateFormat" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] }, "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.:\n```json\n{\n \"Date\": {\n \"enable\": true,\n \"format\": { \"Custom\": \"%D %Z (Tokyo)\" },\n \"timezone\": \"Asia/Tokyo\"\n }\n}\n```", "type": [ "string", "null" ] } }, "required": [ "enable", "format" ] }, "DateFormat": { "oneOf": [ { "description": "Month/Date/Year format (09/08/24)", "type": "string", "const": "MonthDateYear" }, { "description": "Year-Month-Date format (2024-09-08)", "type": "string", "const": "YearMonthDate" }, { "description": "Date-Month-Year format (8-Sep-2024)", "type": "string", "const": "DateMonthYear" }, { "description": "Day Date Month Year format (8 September 2024)", "type": "string", "const": "DayDateMonthYear" }, { "description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)", "type": "object", "properties": { "Custom": { "type": "string" } }, "additionalProperties": false, "required": [ "Custom" ] }, { "description": "Custom format with modifiers", "type": "object", "properties": { "CustomModifiers": { "$ref": "#/$defs/CustomModifiers" } }, "additionalProperties": false, "required": [ "CustomModifiers" ] } ] }, "DefaultLayout": { "description": "A predefined komorebi layout", "oneOf": [ { "description": "BSP Layout\n\n```\n+-------+-----+\n| | |\n| +--+--+\n| | |--|\n+-------+--+--+\n```", "type": "string", "const": "BSP" }, { "description": "Columns Layout\n\n```\n+--+--+--+--+\n| | | | |\n| | | | |\n| | | | |\n+--+--+--+--+\n```", "type": "string", "const": "Columns" }, { "description": "Rows Layout\n\n```\n+-----------+\n|-----------|\n|-----------|\n|-----------|\n+-----------+\n```", "type": "string", "const": "Rows" }, { "description": "Vertical Stack Layout\n\n```\n+-------+-----+\n| | |\n| +-----+\n| | |\n+-------+-----+\n```", "type": "string", "const": "VerticalStack" }, { "description": "Horizontal Stack Layout\n\n```\n+------+------+\n| |\n|------+------+\n| | |\n+------+------+\n```", "type": "string", "const": "HorizontalStack" }, { "description": "Ultrawide Vertical Stack Layout\n\n```\n+-----+-----------+-----+\n| | | |\n| | +-----+\n| | | |\n| | +-----+\n| | | |\n+-----+-----------+-----+\n```", "type": "string", "const": "UltrawideVerticalStack" }, { "description": "Grid Layout\n\n```\n+-----+-----+ +---+---+---+ +---+---+---+ +---+---+---+\n| | | | | | | | | | | | | | |\n| | | | | | | | | | | | | +---+\n+-----+-----+ | +---+---+ +---+---+---+ +---+---| |\n| | | | | | | | | | | | | +---+\n| | | | | | | | | | | | | | |\n+-----+-----+ +---+---+---+ +---+---+---+ +---+---+---+\n 4 windows 5 windows 6 windows 7 windows\n```", "type": "string", "const": "Grid" }, { "description": "Right Main Vertical Stack Layout\n\n```\n+-----+-------+\n| | |\n+-----+ |\n| | |\n+-----+-------+\n```", "type": "string", "const": "RightMainVerticalStack" }, { "description": "Scrolling Layout\n\n```\n+--+--+--+--+--+--+\n| | | |\n| | | |\n| | | |\n+--+--+--+--+--+--+\n```", "type": "string", "const": "Scrolling" } ] }, "DisplayFormat": { "oneOf": [ { "description": "Show only icon", "type": "string", "const": "Icon" }, { "description": "Show only text", "type": "string", "const": "Text" }, { "description": "Show an icon and text for the selected element, and text on the rest", "type": "string", "const": "TextAndIconOnSelected" }, { "description": "Show both icon and text", "type": "string", "const": "IconAndText" }, { "description": "Show an icon and text for the selected element, and icons on the rest", "type": "string", "const": "IconAndTextOnSelected" } ] }, "FocusFollowsMouseImplementation": { "description": "Focus follows mouse implementation", "oneOf": [ { "description": "Custom FFM implementation (slightly more CPU-intensive)", "type": "string", "const": "Komorebi" }, { "description": "Native (legacy) Windows FFM implementation", "type": "string", "const": "Windows" } ] }, "FrameConfig": { "type": "object", "properties": { "inner_margin": { "description": "Margin inside the painted frame", "$ref": "#/$defs/Position" } }, "required": [ "inner_margin" ] }, "GroupedSpacingConfig": { "type": "object", "properties": { "horizontal": { "anyOf": [ { "$ref": "#/$defs/GroupedSpacingOptions" }, { "type": "null" } ] }, "vertical": { "anyOf": [ { "$ref": "#/$defs/GroupedSpacingOptions" }, { "type": "null" } ] } } }, "GroupedSpacingOptions": { "anyOf": [ { "type": "number", "format": "float" }, { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "number", "format": "float" }, { "type": "number", "format": "float" } ] } ] }, "Grouping": { "oneOf": [ { "description": "No grouping is applied", "type": "object", "properties": { "kind": { "type": "string", "const": "None" } }, "required": [ "kind" ] }, { "description": "Widgets are grouped as a whole", "type": "object", "properties": { "kind": { "type": "string", "const": "Bar" } }, "$ref": "#/$defs/GroupingConfig", "required": [ "kind" ] }, { "description": "Widgets are grouped by alignment", "type": "object", "properties": { "kind": { "type": "string", "const": "Alignment" } }, "$ref": "#/$defs/GroupingConfig", "required": [ "kind" ] }, { "description": "Widgets are grouped individually", "type": "object", "properties": { "kind": { "type": "string", "const": "Widget" } }, "$ref": "#/$defs/GroupingConfig", "required": [ "kind" ] } ] }, "GroupingConfig": { "type": "object", "properties": { "rounding": { "description": "Rounding values for the 4 corners. Can be a single or 4 values.", "anyOf": [ { "$ref": "#/$defs/RoundingConfig" }, { "type": "null" } ] }, "style": { "description": "Styles for the grouping", "anyOf": [ { "$ref": "#/$defs/GroupingStyle" }, { "type": "null" } ] }, "transparency_alpha": { "description": "Alpha value for the color transparency [[0-255]] (default: 200)", "type": [ "integer", "null" ], "format": "uint8", "maximum": 255, "minimum": 0 } } }, "GroupingStyle": { "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", "const": "DefaultWithShadowB4O1S3" }, { "description": "A shadow is added under the default group. (blur: 4, offset: x-0 y-0, spread: 3)", "type": "string", "const": "DefaultWithShadowB4O0S3" }, { "description": "A shadow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 3)", "type": "string", "const": "DefaultWithShadowB0O1S3" }, { "description": "A glow is added under the default group. (blur: 3, offset: x-1 y-1, spread: 2)", "type": "string", "const": "DefaultWithGlowB3O1S2" }, { "description": "A glow is added under the default group. (blur: 3, offset: x-0 y-0, spread: 2)", "type": "string", "const": "DefaultWithGlowB3O0S2" }, { "description": "A glow is added under the default group. (blur: 0, offset: x-1 y-1, spread: 2)", "type": "string", "const": "DefaultWithGlowB0O1S2" } ] }, "Hex": { "description": "Colour represented as a Hex string", "type": "string", "format": "color-hex" }, "HidingBehaviour": { "description": "Window hiding behaviour", "oneOf": [ { "description": "END OF LIFE FEATURE: Use the `SW_HIDE` flag to hide windows when switching workspaces (has issues with Electron apps)", "type": "string", "const": "Hide", "deprecated": true }, { "description": "Use the `SW_MINIMIZE` flag to hide windows when switching workspaces (has issues with frequent workspace switching)", "type": "string", "const": "Minimize" }, { "description": "Use the undocumented SetCloak Win32 function to hide windows when switching workspaces", "type": "string", "const": "Cloak" } ] }, "IndividualSpacingConfig": { "type": "object", "properties": { "bottom": { "type": "number", "format": "float" }, "left": { "type": "number", "format": "float" }, "right": { "type": "number", "format": "float" }, "top": { "type": "number", "format": "float" } }, "required": [ "top", "bottom", "left", "right" ] }, "KeyboardConfig": { "type": "object", "properties": { "data_refresh_interval": { "description": "Data refresh interval", "type": [ "integer", "null" ], "format": "uint64", "default": 10, "minimum": 0 }, "enable": { "description": "Enable the Input widget", "type": "boolean" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] } }, "required": [ "enable" ] }, "KomobarTheme": { "oneOf": [ { "description": "A theme from catppuccin-egui", "type": "object", "properties": { "accent": { "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ] }, "auto_select_fill": { "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ] }, "auto_select_text": { "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ] }, "name": { "description": "Name of the Catppuccin theme (theme previews: https://github.com/catppuccin/catppuccin)", "$ref": "#/$defs/Catppuccin" }, "palette": { "type": "string", "const": "Catppuccin" } }, "required": [ "palette", "name" ] }, { "description": "A theme from base16-egui-themes", "type": "object", "properties": { "accent": { "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ] }, "auto_select_fill": { "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ] }, "auto_select_text": { "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ] }, "name": { "description": "Name of the Base16 theme (theme previews: https://tinted-theming.github.io/tinted-gallery/)", "$ref": "#/$defs/Base16" }, "palette": { "type": "string", "const": "Base16" } }, "required": [ "palette", "name" ] }, { "description": "A custom Base16 theme", "type": "object", "properties": { "accent": { "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ] }, "auto_select_fill": { "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ] }, "auto_select_text": { "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ] }, "colours": { "description": "Colours of the custom Base16 theme palette", "$ref": "#/$defs/Base16ColourPalette" }, "palette": { "type": "string", "const": "Custom" } }, "required": [ "palette", "colours" ] } ] }, "KomorebiConfig": { "type": "object", "properties": { "configuration_switcher": { "description": "Configure the Configuration Switcher widget", "anyOf": [ { "$ref": "#/$defs/KomorebiConfigurationSwitcherConfig" }, { "type": "null" } ] }, "focused_container": { "description": "Configure the Focused Container widget", "anyOf": [ { "$ref": "#/$defs/KomorebiFocusedContainerConfig" }, { "type": "null" } ] }, "layout": { "description": "Configure the Layout widget", "anyOf": [ { "$ref": "#/$defs/KomorebiLayoutConfig" }, { "type": "null" } ] }, "locked_container": { "description": "Configure the Locked Container widget", "anyOf": [ { "$ref": "#/$defs/KomorebiLockedContainerConfig" }, { "type": "null" } ] }, "workspace_layer": { "description": "Configure the Workspace Layer widget", "anyOf": [ { "$ref": "#/$defs/KomorebiWorkspaceLayerConfig" }, { "type": "null" } ] }, "workspaces": { "description": "Configure the Workspaces widget", "anyOf": [ { "$ref": "#/$defs/KomorebiWorkspacesConfig" }, { "type": "null" } ] } } }, "KomorebiConfigurationSwitcherConfig": { "type": "object", "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" } }, "required": [ "enable", "configurations" ] }, "KomorebiFocusedContainerConfig": { "type": "object", "properties": { "display": { "description": "Display format of the currently focused container", "anyOf": [ { "$ref": "#/$defs/DisplayFormat" }, { "type": "null" } ] }, "enable": { "description": "Enable the Komorebi Focused Container widget", "type": "boolean" }, "show_icon": { "description": "DEPRECATED: use `display` instead (Show the icon of the currently focused container)", "type": [ "boolean", "null" ], "deprecated": true } }, "required": [ "enable" ] }, "KomorebiLayout": { "anyOf": [ { "$ref": "#/$defs/DefaultLayout" }, { "type": "null" }, { "type": "null" }, { "type": "null" }, { "type": "null" } ] }, "KomorebiLayoutConfig": { "type": "object", "properties": { "display": { "description": "Display format of the current layout", "anyOf": [ { "$ref": "#/$defs/DisplayFormat" }, { "type": "null" } ] }, "enable": { "description": "Enable the Komorebi Layout widget", "type": "boolean" }, "options": { "description": "List of layout options", "type": [ "array", "null" ], "items": { "$ref": "#/$defs/KomorebiLayout" } } }, "required": [ "enable" ] }, "KomorebiLockedContainerConfig": { "type": "object", "properties": { "display": { "description": "Display format of the current locked state", "anyOf": [ { "$ref": "#/$defs/DisplayFormat" }, { "type": "null" } ] }, "enable": { "description": "Enable the Komorebi Locked Container widget", "type": "boolean" }, "show_when_unlocked": { "description": "Show the widget event if the layer is unlocked", "type": [ "boolean", "null" ] } }, "required": [ "enable" ] }, "KomorebiMouseMessage": { "type": "object", "properties": { "focus_monitor_at_cursor": { "description": "Send the FocusMonitorAtCursor message", "type": [ "boolean", "null" ], "default": true }, "ignore_mouse_follows_focus": { "description": "Wrap the {message} with a MouseFollowsFocus(false) and MouseFollowsFocus({original.value}) message", "type": [ "boolean", "null" ], "default": true }, "message": { "description": "The message to send to the komorebi client", "$ref": "#/$defs/SocketMessage" } }, "required": [ "message" ] }, "KomorebiTheme": { "description": "Komorebi theme", "oneOf": [ { "description": "A theme from catppuccin-egui", "type": "object", "properties": { "bar_accent": { "description": "Komorebi status bar accent", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Blue" }, "floating_border": { "description": "Border colour when the window is floating", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Yellow" }, "monocle_border": { "description": "Border colour when the container is in monocle mode", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Pink" }, "name": { "description": "Name of the Catppuccin theme (theme previews: https://github.com/catppuccin/catppuccin)", "$ref": "#/$defs/Catppuccin" }, "palette": { "type": "string", "const": "Catppuccin" }, "single_border": { "description": "Border colour when the container contains a single window", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Blue" }, "stack_border": { "description": "Border colour when the container contains multiple windows", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Green" }, "stackbar_background": { "description": "Stackbar tab background colour", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Base" }, "stackbar_focused_text": { "description": "Stackbar focused tab text colour", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Green" }, "stackbar_unfocused_text": { "description": "Stackbar unfocused tab text colour", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Text" }, "unfocused_border": { "description": "Border colour when the container is unfocused", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Base" }, "unfocused_locked_border": { "description": "Border colour when the container is unfocused and locked", "anyOf": [ { "$ref": "#/$defs/CatppuccinValue" }, { "type": "null" } ], "default": "Red" } }, "required": [ "palette", "name" ] }, { "description": "A theme from base16-egui-themes", "type": "object", "properties": { "bar_accent": { "description": "Komorebi status bar accent", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0D" }, "floating_border": { "description": "Border colour when the window is floating", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base09" }, "monocle_border": { "description": "Border colour when the container is in monocle mode", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0F" }, "name": { "description": "Name of the Base16 theme (theme previews: https://tinted-theming.github.io/tinted-gallery/)", "$ref": "#/$defs/Base16" }, "palette": { "type": "string", "const": "Base16" }, "single_border": { "description": "Border colour when the container contains a single window", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0D" }, "stack_border": { "description": "Border colour when the container contains multiple windows", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0B" }, "stackbar_background": { "description": "Stackbar tab background colour", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base01" }, "stackbar_focused_text": { "description": "Stackbar focused tab text colour", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0B" }, "stackbar_unfocused_text": { "description": "Stackbar unfocused tab text colour", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base05" }, "unfocused_border": { "description": "Border colour when the container is unfocused", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base01" }, "unfocused_locked_border": { "description": "Border colour when the container is unfocused and locked", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base08" } }, "required": [ "palette", "name" ] }, { "description": "A custom Base16 theme", "type": "object", "properties": { "bar_accent": { "description": "Komorebi status bar accent", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0D" }, "colours": { "description": "Colours of the custom Base16 theme palette", "$ref": "#/$defs/Base16ColourPalette" }, "floating_border": { "description": "Border colour when the window is floating", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base09" }, "monocle_border": { "description": "Border colour when the container is in monocle mode", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0F" }, "palette": { "type": "string", "const": "Custom" }, "single_border": { "description": "Border colour when the container contains a single window", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0D" }, "stack_border": { "description": "Border colour when the container contains multiple windows", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0B" }, "stackbar_background": { "description": "Stackbar tab background colour", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base01" }, "stackbar_focused_text": { "description": "Stackbar focused tab text colour", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base0B" }, "stackbar_unfocused_text": { "description": "Stackbar unfocused tab text colour", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base05" }, "unfocused_border": { "description": "Border colour when the container is unfocused", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base01" }, "unfocused_locked_border": { "description": "Border colour when the container is unfocused and locked", "anyOf": [ { "$ref": "#/$defs/Base16Value" }, { "type": "null" } ], "default": "Base08" } }, "required": [ "palette", "colours" ] } ] }, "KomorebiWorkspaceLayerConfig": { "type": "object", "properties": { "display": { "description": "Display format of the current layer", "anyOf": [ { "$ref": "#/$defs/DisplayFormat" }, { "type": "null" } ] }, "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", "null" ] } }, "required": [ "enable" ] }, "KomorebiWorkspacesConfig": { "type": "object", "properties": { "display": { "description": "Display format of the workspace", "anyOf": [ { "$ref": "#/$defs/WorkspacesDisplayFormat" }, { "type": "null" } ] }, "enable": { "description": "Enable the Komorebi Workspaces widget", "type": "boolean" }, "hide_empty_workspaces": { "description": "Hide workspaces without any windows", "type": "boolean" } }, "required": [ "enable", "hide_empty_workspaces" ] }, "LabelPrefix": { "oneOf": [ { "description": "Show no prefix", "type": "string", "const": "None" }, { "description": "Show an icon", "type": "string", "const": "Icon" }, { "description": "Show text", "type": "string", "const": "Text" }, { "description": "Show an icon and text", "type": "string", "const": "IconAndText" } ] }, "MediaConfig": { "type": "object", "properties": { "enable": { "description": "Enable the Media widget", "type": "boolean" } }, "required": [ "enable" ] }, "MemoryConfig": { "type": "object", "properties": { "auto_select_over": { "description": "Select when the current percentage is over this value [[1-100]]", "type": [ "integer", "null" ], "format": "uint8", "maximum": 255, "minimum": 0 }, "data_refresh_interval": { "description": "Data refresh interval in seconds", "type": [ "integer", "null" ], "format": "uint64", "default": 10, "minimum": 0 }, "enable": { "description": "Enable the Memory widget", "type": "boolean" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] } }, "required": [ "enable" ] }, "MonitorConfig": { "type": "object", "properties": { "index": { "description": "Komorebi monitor index of the monitor on which to render the bar", "type": "integer", "format": "uint", "minimum": 0 }, "work_area_offset": { "description": "Automatically apply a work area offset for this monitor to accommodate the bar", "anyOf": [ { "$ref": "#/$defs/Rect" }, { "type": "null" } ] } }, "required": [ "index" ] }, "MonitorConfigOrIndex": { "anyOf": [ { "description": "The monitor index where you want the bar to show", "type": "integer", "format": "uint", "minimum": 0 }, { "description": "The full monitor options with the index and an optional work_area_offset", "$ref": "#/$defs/MonitorConfig" } ] }, "MouseConfig": { "type": "object", "properties": { "horizontal_scroll_threshold": { "description": "Defines how many points a user needs to scroll horizontally to make a \"tick\" on a mouse/touchpad/touchscreen", "type": [ "number", "null" ], "format": "float", "default": 30.0 }, "on_extra1_click": { "description": "Command to send on extra1/back button click", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_extra2_click": { "description": "Command to send on extra2/forward button click", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_middle_click": { "description": "Command to send on middle button click", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_primary_double_click": { "description": "Command to send on primary/left double button click", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_scroll_down": { "description": "Command to send on scrolling down (every tick)", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_scroll_left": { "description": "Command to send on scrolling left (every tick)", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_scroll_right": { "description": "Command to send on scrolling right (every tick)", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_scroll_up": { "description": "Command to send on scrolling up (every tick)", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "on_secondary_click": { "description": "Command to send on secondary/right button click", "anyOf": [ { "$ref": "#/$defs/MouseMessage" }, { "type": "null" } ] }, "vertical_scroll_threshold": { "description": "Defines how many points a user needs to scroll vertically to make a \"tick\" on a mouse/touchpad/touchscreen", "type": [ "number", "null" ], "format": "float", "default": 30.0 } } }, "MouseMessage": { "anyOf": [ { "description": "Send a message to the komorebi client.\nBy default, a batch of messages are sent in the following order:\nFocusMonitorAtCursor =>\nMouseFollowsFocus(false) =>\n{message} =>\nMouseFollowsFocus({original.value})\n\nExample:\n```json\n\"on_extra2_click\": {\n \"message\": {\n \"type\": \"NewWorkspace\"\n }\n},\n```\nor:\n```json\n\"on_middle_click\": {\n \"focus_monitor_at_cursor\": false,\n \"ignore_mouse_follows_focus\": false,\n \"message\": {\n \"type\": \"TogglePause\"\n }\n}\n```\nor:\n```json\n\"on_scroll_up\": {\n \"message\": {\n \"type\": \"CycleFocusWorkspace\",\n \"content\": \"Previous\"\n }\n}\n```", "$ref": "#/$defs/KomorebiMouseMessage" }, { "description": "Execute a custom command.\nCMD (%variable%), Bash ($variable) and PowerShell ($Env:variable) variables will be resolved.\nExample: `komorebic toggle-pause`", "type": "string" } ] }, "MoveBehaviour": { "description": "Move behaviour when the operation works across a monitor boundary", "oneOf": [ { "description": "Swap the window container with the window container at the edge of the adjacent monitor", "type": "string", "const": "Swap" }, { "description": "Insert the window container into the focused workspace on the adjacent monitor", "type": "string", "const": "Insert" }, { "description": "Do nothing if trying to move a window container in the direction of an adjacent monitor", "type": "string", "const": "NoOp" } ] }, "NetworkConfig": { "type": "object", "properties": { "activity_left_padding": { "description": "Characters to reserve for received and transmitted activity", "type": [ "integer", "null" ], "format": "uint", "minimum": 0 }, "auto_select": { "description": "Select when the value is over a limit (1MiB is 1048576 bytes (1024*1024))", "anyOf": [ { "$ref": "#/$defs/NetworkSelectConfig" }, { "type": "null" } ] }, "data_refresh_interval": { "description": "Data refresh interval in seconds", "type": [ "integer", "null" ], "format": "uint64", "default": 10, "minimum": 0 }, "enable": { "description": "Enable the Network widget", "type": "boolean" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] }, "show_activity": { "description": "Show received and transmitted activity", "type": "boolean" }, "show_default_interface": { "description": "Show default interface", "type": [ "boolean", "null" ] }, "show_total_activity": { "description": "Show total received and transmitted activity", "type": "boolean" } }, "required": [ "enable", "show_total_activity", "show_activity" ] }, "NetworkSelectConfig": { "type": "object", "properties": { "received_over": { "description": "Select the received data when it's over this value", "type": [ "integer", "null" ], "format": "uint64", "minimum": 0 }, "total_received_over": { "description": "Select the total received data when it's over this value", "type": [ "integer", "null" ], "format": "uint64", "minimum": 0 }, "total_transmitted_over": { "description": "Select the total transmitted data when it's over this value", "type": [ "integer", "null" ], "format": "uint64", "minimum": 0 }, "transmitted_over": { "description": "Select the transmitted data when it's over this value", "type": [ "integer", "null" ], "format": "uint64", "minimum": 0 } } }, "OperationBehaviour": { "description": "Operation behaviour for temporarily unmanaged and floating windows", "oneOf": [ { "description": "Process commands on temporarily unmanaged/floated windows", "type": "string", "const": "Op" }, { "description": "Ignore commands on temporarily unmanaged/floated windows", "type": "string", "const": "NoOp" } ] }, "OperationDirection": { "type": "string", "enum": [ "Left", "Right", "Up", "Down" ] }, "PathBuf": { "type": "string" }, "Position": { "type": "object", "properties": { "x": { "description": "X coordinate", "type": "number", "format": "float" }, "y": { "description": "Y coordinate", "type": "number", "format": "float" } }, "required": [ "x", "y" ] }, "PositionConfig": { "type": "object", "properties": { "end": { "description": "The desired size of the bar from the starting position (usually monitor width x desired height)", "anyOf": [ { "$ref": "#/$defs/Position" }, { "type": "null" } ] }, "start": { "description": "The desired starting position of the bar (0,0 = top left of the screen)", "anyOf": [ { "$ref": "#/$defs/Position" }, { "type": "null" } ] } } }, "Rect": { "description": "Rectangle dimensions", "type": "object", "properties": { "bottom": { "description": "Height of the rectangle (from the top point)", "type": "integer", "format": "int32" }, "left": { "description": "Left point of the rectangle", "type": "integer", "format": "int32" }, "right": { "description": "Width of the recentangle (from the left point)", "type": "integer", "format": "int32" }, "top": { "description": "Top point of the rectangle", "type": "integer", "format": "int32" } }, "required": [ "left", "top", "right", "bottom" ] }, "Rgb": { "description": "Colour represented as RGB", "type": "object", "properties": { "b": { "description": "Blue", "type": "integer", "format": "uint32", "minimum": 0 }, "g": { "description": "Green", "type": "integer", "format": "uint32", "minimum": 0 }, "r": { "description": "Red", "type": "integer", "format": "uint32", "minimum": 0 } }, "required": [ "r", "g", "b" ] }, "RoundingConfig": { "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 } ] }, "Sizing": { "description": "Sizing", "oneOf": [ { "description": "Increase", "type": "string", "const": "Increase" }, { "description": "Decrease", "type": "string", "const": "Decrease" } ] }, "SocketMessage": { "oneOf": [ { "type": "object", "properties": { "content": { "$ref": "#/$defs/OperationDirection" }, "type": { "type": "string", "const": "FocusWindow" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/OperationDirection" }, "type": { "type": "string", "const": "MoveWindow" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/OperationDirection" }, "type": { "type": "string", "const": "PreselectDirection" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "CancelPreselect" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleFocusWindow" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleMoveWindow" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/OperationDirection" }, "type": { "type": "string", "const": "StackWindow" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "UnstackWindow" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleStack" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleStackIndex" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "FocusStackWindow" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "StackAll" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "UnstackAll" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/OperationDirection" }, { "$ref": "#/$defs/Sizing" } ] }, "type": { "type": "string", "const": "ResizeWindowEdge" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/Axis" }, { "$ref": "#/$defs/Sizing" } ] }, "type": { "type": "string", "const": "ResizeWindowAxis" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "MoveContainerToLastWorkspace" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "SendContainerToLastWorkspace" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "MoveContainerToMonitorNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleMoveContainerToMonitor" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "MoveContainerToWorkspaceNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "MoveContainerToNamedWorkspace" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleMoveContainerToWorkspace" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "SendContainerToMonitorNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleSendContainerToMonitor" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "SendContainerToWorkspaceNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleSendContainerToWorkspace" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "SendContainerToMonitorWorkspaceNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "MoveContainerToMonitorWorkspaceNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "SendContainerToNamedWorkspace" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleMoveWorkspaceToMonitor" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "MoveWorkspaceToMonitorNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "SwapWorkspacesToMonitorNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ForceFocus" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "Close" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "Minimize" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "Promote" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "PromoteSwap" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "PromoteFocus" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/OperationDirection" }, "type": { "type": "string", "const": "PromoteWindow" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "EagerFocus" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "LockMonitorWorkspaceContainer" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "UnlockMonitorWorkspaceContainer" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleLock" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleFloat" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleMonocle" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleMaximize" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleWindowContainerBehaviour" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleFloatOverride" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/HidingBehaviour" }, "type": { "type": "string", "const": "WindowHidingBehaviour" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleCrossMonitorMoveBehaviour" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/MoveBehaviour" }, "type": { "type": "string", "const": "CrossMonitorMoveBehaviour" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/OperationBehaviour" }, "type": { "type": "string", "const": "UnmanagedWindowOperationBehaviour" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ManageFocusedWindow" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "UnmanageFocusedWindow" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/Sizing" }, { "type": "integer", "format": "int32" } ] }, "type": { "type": "string", "const": "AdjustContainerPadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/Sizing" }, { "type": "integer", "format": "int32" } ] }, "type": { "type": "string", "const": "AdjustWorkspacePadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/DefaultLayout" }, "type": { "type": "string", "const": "ChangeLayout" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleLayout" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 1 }, "type": { "type": "string", "const": "ScrollingLayoutColumns" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/PathBuf" }, "type": { "type": "string", "const": "ChangeLayoutCustom" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/Axis" }, "type": { "type": "string", "const": "FlipLayout" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleWorkspaceWindowContainerBehaviour" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleWorkspaceFloatOverride" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 5, "minItems": 5, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "int32" }, { "type": "integer", "format": "int32" }, { "type": "integer", "format": "int32" }, { "type": "integer", "format": "int32" } ] }, "type": { "type": "string", "const": "MonitorIndexPreference" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "string" } ] }, "type": { "type": "string", "const": "DisplayIndexPreference" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "EnsureWorkspaces" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "array", "items": { "type": "string" } } ] }, "type": { "type": "string", "const": "EnsureNamedWorkspaces" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "NewWorkspace" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleTiling" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "Stop" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "StopIgnoreRestore" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "TogglePause" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "Retile" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "RetileWithResizeDimensions" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "QuickSave" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "QuickLoad" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/PathBuf" }, "type": { "type": "string", "const": "Save" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/PathBuf" }, "type": { "type": "string", "const": "Load" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleFocusMonitor" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleFocusWorkspace" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/CycleDirection" }, "type": { "type": "string", "const": "CycleFocusEmptyWorkspace" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "FocusMonitorNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "FocusMonitorAtCursor" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "FocusLastWorkspace" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "CloseWorkspace" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "FocusWorkspaceNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint", "minimum": 0 }, "type": { "type": "string", "const": "FocusWorkspaceNumbers" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "FocusMonitorWorkspaceNumber" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "FocusNamedWorkspace" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "int32" } ] }, "type": { "type": "string", "const": "ContainerPadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "string" }, { "type": "integer", "format": "int32" } ] }, "type": { "type": "string", "const": "NamedWorkspaceContainerPadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "FocusedWorkspaceContainerPadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "int32" } ] }, "type": { "type": "string", "const": "WorkspacePadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "string" }, { "type": "integer", "format": "int32" } ] }, "type": { "type": "string", "const": "NamedWorkspacePadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "FocusedWorkspacePadding" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "boolean" } ] }, "type": { "type": "string", "const": "WorkspaceTiling" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "string" }, { "type": "boolean" } ] }, "type": { "type": "string", "const": "NamedWorkspaceTiling" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "string" } ] }, "type": { "type": "string", "const": "WorkspaceName" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/DefaultLayout" } ] }, "type": { "type": "string", "const": "WorkspaceLayout" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "string" }, { "$ref": "#/$defs/DefaultLayout" } ] }, "type": { "type": "string", "const": "NamedWorkspaceLayout" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/PathBuf" } ] }, "type": { "type": "string", "const": "WorkspaceLayoutCustom" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "string" }, { "$ref": "#/$defs/PathBuf" } ] }, "type": { "type": "string", "const": "NamedWorkspaceLayoutCustom" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 4, "minItems": 4, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/DefaultLayout" } ] }, "type": { "type": "string", "const": "WorkspaceLayoutRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "string" }, { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/DefaultLayout" } ] }, "type": { "type": "string", "const": "NamedWorkspaceLayoutRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 4, "minItems": 4, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/PathBuf" } ] }, "type": { "type": "string", "const": "WorkspaceLayoutCustomRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "string" }, { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/PathBuf" } ] }, "type": { "type": "string", "const": "NamedWorkspaceLayoutCustomRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "ClearWorkspaceLayoutRules" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "ClearNamedWorkspaceLayoutRules" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleWorkspaceLayer" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ReloadConfiguration" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/PathBuf" }, "type": { "type": "string", "const": "ReplaceConfiguration" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/PathBuf" }, "type": { "type": "string", "const": "ReloadStaticConfiguration" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "boolean" }, "type": { "type": "string", "const": "WatchConfiguration" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "CompleteConfiguration" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "boolean" }, "type": { "type": "string", "const": "AltFocusHack" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/KomorebiTheme" }, "type": { "type": "string", "const": "Theme" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "boolean" }, { "anyOf": [ { "$ref": "#/$defs/AnimationPrefix" }, { "type": "null" } ] } ] }, "type": { "type": "string", "const": "Animation" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint64", "minimum": 0 }, { "anyOf": [ { "$ref": "#/$defs/AnimationPrefix" }, { "type": "null" } ] } ] }, "type": { "type": "string", "const": "AnimationDuration" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint64", "minimum": 0 }, "type": { "type": "string", "const": "AnimationFps" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/AnimationStyle" }, { "anyOf": [ { "$ref": "#/$defs/AnimationPrefix" }, { "type": "null" } ] } ] }, "type": { "type": "string", "const": "AnimationStyle" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "boolean" }, "type": { "type": "string", "const": "Border" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 4, "minItems": 4, "prefixItems": [ { "$ref": "#/$defs/WindowKind" }, { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 } ] }, "type": { "type": "string", "const": "BorderColour" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/BorderStyle" }, "type": { "type": "string", "const": "BorderStyle" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "BorderWidth" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "BorderOffset" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/BorderImplementation" }, "type": { "type": "string", "const": "BorderImplementation" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "boolean" }, "type": { "type": "string", "const": "Transparency" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleTransparency" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "uint8", "maximum": 255, "minimum": 0 }, "type": { "type": "string", "const": "TransparencyAlpha" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/Rect" }, "type": { "type": "string", "const": "InvisibleBorders" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/StackbarMode" }, "type": { "type": "string", "const": "StackbarMode" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/StackbarLabel" }, "type": { "type": "string", "const": "StackbarLabel" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 } ] }, "type": { "type": "string", "const": "StackbarFocusedTextColour" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 } ] }, "type": { "type": "string", "const": "StackbarUnfocusedTextColour" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 }, { "type": "integer", "format": "uint32", "minimum": 0 } ] }, "type": { "type": "string", "const": "StackbarBackgroundColour" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "StackbarHeight" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "StackbarTabWidth" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "StackbarFontSize" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": [ "string", "null" ] }, "type": { "type": "string", "const": "StackbarFontFamily" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/Rect" }, "type": { "type": "string", "const": "WorkAreaOffset" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/Rect" } ] }, "type": { "type": "string", "const": "MonitorWorkAreaOffset" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 }, { "$ref": "#/$defs/Rect" } ] }, "type": { "type": "string", "const": "WorkspaceWorkAreaOffset" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleWindowBasedWorkAreaOffset" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int32" }, "type": { "type": "string", "const": "ResizeDelta" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 4, "minItems": 4, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "InitialWorkspaceRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" }, { "type": "string" } ] }, "type": { "type": "string", "const": "InitialNamedWorkspaceRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 4, "minItems": 4, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" }, { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "WorkspaceRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 3, "minItems": 3, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" }, { "type": "string" } ] }, "type": { "type": "string", "const": "NamedWorkspaceRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer", "format": "uint", "minimum": 0 }, { "type": "integer", "format": "uint", "minimum": 0 } ] }, "type": { "type": "string", "const": "ClearWorkspaceRules" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "ClearNamedWorkspaceRules" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ClearAllWorkspaceRules" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "EnforceWorkspaceRules" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "SessionFloatRule" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "SessionFloatRules" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ClearSessionFloatRules" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" } ] }, "type": { "type": "string", "const": "IgnoreRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" } ] }, "type": { "type": "string", "const": "ManageRule" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" } ] }, "type": { "type": "string", "const": "IdentifyObjectNameChangeApplication" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" } ] }, "type": { "type": "string", "const": "IdentifyTrayApplication" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" } ] }, "type": { "type": "string", "const": "IdentifyLayeredApplication" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" } ] }, "type": { "type": "string", "const": "IdentifyBorderOverflowApplication" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "State" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "GlobalState" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "VisibleWindows" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "MonitorInformation" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/StateQuery" }, "type": { "type": "string", "const": "Query" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/FocusFollowsMouseImplementation" }, { "type": "boolean" } ] }, "type": { "type": "string", "const": "FocusFollowsMouse" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "$ref": "#/$defs/FocusFollowsMouseImplementation" }, "type": { "type": "string", "const": "ToggleFocusFollowsMouse" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "boolean" }, "type": { "type": "string", "const": "MouseFollowsFocus" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleMouseFollowsFocus" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/$defs/ApplicationIdentifier" }, { "type": "string" } ] }, "type": { "type": "string", "const": "RemoveTitleBar" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ToggleTitleBars" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "AddSubscriberSocket" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "array", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "string" }, { "$ref": "#/$defs/SubscribeOptions" } ] }, "type": { "type": "string", "const": "AddSubscriberSocketWithOptions" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "RemoveSubscriberSocket" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "AddSubscriberPipe" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "content": { "type": "string" }, "type": { "type": "string", "const": "RemoveSubscriberPipe" } }, "required": [ "type", "content" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "ApplicationSpecificConfigurationSchema" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "NotificationSchema" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "SocketSchema" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "StaticConfigSchema" } }, "required": [ "type" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "GenerateStaticConfig" } }, "required": [ "type" ] }, { "type": "object", "properties": { "content": { "type": "integer", "format": "int" }, "type": { "type": "string", "const": "DebugWindow" } }, "required": [ "type", "content" ] } ] }, "SpacingKind": { "anyOf": [ { "type": "number", "format": "float" }, { "$ref": "#/$defs/IndividualSpacingConfig" }, { "$ref": "#/$defs/GroupedSpacingConfig" } ] }, "StackbarLabel": { "description": "Starbar label", "oneOf": [ { "description": "Process name", "type": "string", "const": "Process" }, { "description": "Window title", "type": "string", "const": "Title" } ] }, "StackbarMode": { "description": "Stackbar mode", "oneOf": [ { "description": "Always show", "type": "string", "const": "Always" }, { "description": "Never show", "type": "string", "const": "Never" }, { "description": "Show on stack", "type": "string", "const": "OnStack" } ] }, "StateQuery": { "type": "string", "enum": [ "FocusedMonitorIndex", "FocusedWorkspaceIndex", "FocusedContainerIndex", "FocusedWindowIndex", "FocusedWorkspaceName", "FocusedWorkspaceLayout", "FocusedContainerKind", "Version" ] }, "StorageConfig": { "type": "object", "properties": { "auto_hide_under": { "description": "Hide when the current percentage is under this value [[1-100]]", "type": [ "integer", "null" ], "format": "uint8", "maximum": 255, "minimum": 0 }, "auto_select_over": { "description": "Select when the current percentage is over this value [[1-100]]", "type": [ "integer", "null" ], "format": "uint8", "maximum": 255, "minimum": 0 }, "data_refresh_interval": { "description": "Data refresh interval in seconds", "type": [ "integer", "null" ], "format": "uint64", "default": 10, "minimum": 0 }, "enable": { "description": "Enable the Storage widget", "type": "boolean" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] }, "show_read_only_disks": { "description": "Show disks that are read only", "type": [ "boolean", "null" ], "default": false }, "show_removable_disks": { "description": "Show removable disks", "type": [ "boolean", "null" ], "default": true } }, "required": [ "enable" ] }, "SubscribeOptions": { "type": "object", "properties": { "filter_state_changes": { "description": "Only emit notifications when the window manager state has changed", "type": "boolean" } }, "required": [ "filter_state_changes" ] }, "TimeConfig": { "type": "object", "properties": { "changing_icon": { "description": "Change the icon depending on the time. The default icon is used between 8:30 and 12:00", "type": [ "boolean", "null" ] }, "enable": { "description": "Enable the Time widget", "type": "boolean" }, "format": { "description": "Set the Time format", "$ref": "#/$defs/TimeFormat" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] }, "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.:\n```json\n{\n \"Time\": {\n \"enable\": true,\n \"format\": { \"Custom\": \"%T %Z (Tokyo)\" },\n \"timezone\": \"Asia/Tokyo\"\n }\n}\n```", "type": [ "string", "null" ] } }, "required": [ "enable", "format" ] }, "TimeFormat": { "oneOf": [ { "description": "Twelve-hour format (with seconds)", "type": "string", "const": "TwelveHour" }, { "description": "Twelve-hour format (without seconds)", "type": "string", "const": "TwelveHourWithoutSeconds" }, { "description": "Twenty-four-hour format (with seconds)", "type": "string", "const": "TwentyFourHour" }, { "description": "Twenty-four-hour format (without seconds)", "type": "string", "const": "TwentyFourHourWithoutSeconds" }, { "description": "Twenty-four-hour format displayed as a binary clock with circles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)", "type": "string", "const": "BinaryCircle" }, { "description": "Twenty-four-hour format displayed as a binary clock with rectangles (with seconds) (https://en.wikipedia.org/wiki/Binary_clock)", "type": "string", "const": "BinaryRectangle" }, { "description": "Custom format (https://docs.rs/chrono/latest/chrono/format/strftime/index.html)", "type": "object", "properties": { "Custom": { "type": "string" } }, "additionalProperties": false, "required": [ "Custom" ] } ] }, "UpdateConfig": { "type": "object", "properties": { "data_refresh_interval": { "description": "Data refresh interval in hours", "type": [ "integer", "null" ], "format": "uint64", "default": 12, "minimum": 0 }, "enable": { "description": "Enable the Update widget", "type": "boolean" }, "label_prefix": { "description": "Display label prefix", "anyOf": [ { "$ref": "#/$defs/LabelPrefix" }, { "type": "null" } ] } }, "required": [ "enable" ] }, "WidgetConfig": { "oneOf": [ { "type": "object", "properties": { "Applications": { "$ref": "#/$defs/ApplicationsConfig" } }, "additionalProperties": false, "required": [ "Applications" ] }, { "type": "object", "properties": { "Battery": { "$ref": "#/$defs/BatteryConfig" } }, "additionalProperties": false, "required": [ "Battery" ] }, { "type": "object", "properties": { "Cpu": { "$ref": "#/$defs/CpuConfig" } }, "additionalProperties": false, "required": [ "Cpu" ] }, { "type": "object", "properties": { "Date": { "$ref": "#/$defs/DateConfig" } }, "additionalProperties": false, "required": [ "Date" ] }, { "type": "object", "properties": { "Keyboard": { "$ref": "#/$defs/KeyboardConfig" } }, "additionalProperties": false, "required": [ "Keyboard" ] }, { "type": "object", "properties": { "Komorebi": { "$ref": "#/$defs/KomorebiConfig" } }, "additionalProperties": false, "required": [ "Komorebi" ] }, { "type": "object", "properties": { "Media": { "$ref": "#/$defs/MediaConfig" } }, "additionalProperties": false, "required": [ "Media" ] }, { "type": "object", "properties": { "Memory": { "$ref": "#/$defs/MemoryConfig" } }, "additionalProperties": false, "required": [ "Memory" ] }, { "type": "object", "properties": { "Network": { "$ref": "#/$defs/NetworkConfig" } }, "additionalProperties": false, "required": [ "Network" ] }, { "type": "object", "properties": { "Storage": { "$ref": "#/$defs/StorageConfig" } }, "additionalProperties": false, "required": [ "Storage" ] }, { "type": "object", "properties": { "Time": { "$ref": "#/$defs/TimeConfig" } }, "additionalProperties": false, "required": [ "Time" ] }, { "type": "object", "properties": { "Update": { "$ref": "#/$defs/UpdateConfig" } }, "additionalProperties": false, "required": [ "Update" ] } ] }, "WindowKind": { "description": "Window kind", "oneOf": [ { "description": "Single window", "type": "string", "const": "Single" }, { "description": "Stack container", "type": "string", "const": "Stack" }, { "description": "Monocle container", "type": "string", "const": "Monocle" }, { "description": "Unfocused window", "type": "string", "const": "Unfocused" }, { "description": "Unfocused locked container", "type": "string", "const": "UnfocusedLocked" }, { "description": "Floating window", "type": "string", "const": "Floating" } ] }, "WorkspacesDisplayFormat": { "anyOf": [ { "description": "Show all icons only", "type": "string", "const": "AllIcons" }, { "description": "Show both all icons and text", "type": "string", "const": "AllIconsAndText" }, { "description": "Show all icons and text for the selected element, and all icons on the rest", "type": "string", "const": "AllIconsAndTextOnSelected" }, { "$ref": "#/$defs/DisplayFormat" } ] } } }