From 13635817c39e9d2cc748b44afe9aa1619627c828 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sat, 20 Dec 2025 21:18:54 -0800 Subject: [PATCH] docs(schema): clarify that 'theme' takes priority over 'border_colours' --- komorebi/src/static_config.rs | 8 ++++---- schema.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/komorebi/src/static_config.rs b/komorebi/src/static_config.rs index 4a960b33..569d8ddc 100644 --- a/komorebi/src/static_config.rs +++ b/komorebi/src/static_config.rs @@ -417,22 +417,22 @@ pub struct StaticConfig { /// Path to applications.json from komorebi-application-specific-configurations (default: None) #[serde(skip_serializing_if = "Option::is_none")] pub app_specific_configuration_path: Option, - /// Width of the window border (default: 6) + /// Width of window borders (default: 6) #[serde(skip_serializing_if = "Option::is_none")] #[serde(alias = "active_window_border_width")] pub border_width: Option, - /// Offset of the window border (default: 5) + /// Offset of window borders (default: 5) #[serde(skip_serializing_if = "Option::is_none")] #[serde(alias = "active_window_border_offset")] pub border_offset: Option, - /// Radius of the window border (default: 10) + /// Radius of window borders (default: 10) #[serde(skip_serializing_if = "Option::is_none")] pub border_radius: Option, /// Display window borders (default: true) #[serde(skip_serializing_if = "Option::is_none")] #[serde(alias = "active_window_border")] pub border: Option, - /// Active window border colours for different container types + /// Window border colours for different container types (has no effect if a theme is defined) #[serde(skip_serializing_if = "Option::is_none")] #[serde(alias = "active_window_border_colours")] pub border_colours: Option, diff --git a/schema.json b/schema.json index 9b42c2a5..7db3b7ab 100644 --- a/schema.json +++ b/schema.json @@ -25,7 +25,7 @@ "type": "boolean" }, "border_colours": { - "description": "Active window border colours for different container types", + "description": "Window border colours for different container types (has no effect if a theme is defined)", "type": "object", "properties": { "floating": { @@ -265,7 +265,7 @@ } }, "border_offset": { - "description": "Offset of the window border (default: 5)", + "description": "Offset of window borders (default: 5)", "type": "integer", "format": "int32" }, @@ -353,12 +353,12 @@ } }, "border_radius": { - "description": "Radius of the window border (default: 10)", + "description": "Radius of window borders (default: 10)", "type": "integer", "format": "int32" }, "border_width": { - "description": "Width of the window border (default: 6)", + "description": "Width of window borders (default: 6)", "type": "integer", "format": "int32" },