mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 22:12:53 +01:00
docs(schema): clarify that 'theme' take priority over 'border_colours'
This commit is contained in:
@@ -470,30 +470,30 @@ 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<AppSpecificConfigurationPath>,
|
||||
/// Width of the window border (default: 8)
|
||||
/// Width of window borders (default: 8)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
#[serde(alias = "active_window_border_width")]
|
||||
pub border_width: Option<i32>,
|
||||
/// Offset of the window border (default: -1)
|
||||
/// Offset of window borders (default: -1)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
#[serde(alias = "active_window_border_offset")]
|
||||
pub border_offset: Option<i32>,
|
||||
/// Display an active window border (default: true)
|
||||
/// Display window borders (default: true)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
#[serde(alias = "active_window_border")]
|
||||
pub border: Option<bool>,
|
||||
/// 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<BorderColours>,
|
||||
/// Active window border style (default: System)
|
||||
/// Window border style (default: System)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
#[serde(alias = "active_window_border_style")]
|
||||
pub border_style: Option<BorderStyle>,
|
||||
/// DEPRECATED from v0.1.31: no longer required
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub border_z_order: Option<ZOrder>,
|
||||
/// Active window border implementation (default: Komorebi)
|
||||
/// Window border implementation (default: Komorebi)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub border_implementation: Option<BorderImplementation>,
|
||||
/// Add transparency to unfocused windows (default: false)
|
||||
|
||||
12
schema.json
12
schema.json
@@ -225,11 +225,11 @@
|
||||
}
|
||||
},
|
||||
"border": {
|
||||
"description": "Display an active window border (default: true)",
|
||||
"description": "Display window borders (default: true)",
|
||||
"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": {
|
||||
@@ -469,7 +469,7 @@
|
||||
}
|
||||
},
|
||||
"border_implementation": {
|
||||
"description": "Active window border implementation (default: Komorebi)",
|
||||
"description": "Window border implementation (default: Komorebi)",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Use the adjustable komorebi border implementation",
|
||||
@@ -488,7 +488,7 @@
|
||||
]
|
||||
},
|
||||
"border_offset": {
|
||||
"description": "Offset of the window border (default: -1)",
|
||||
"description": "Offset of window borders (default: -1)",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
@@ -576,7 +576,7 @@
|
||||
}
|
||||
},
|
||||
"border_style": {
|
||||
"description": "Active window border style (default: System)",
|
||||
"description": "Window border style (default: System)",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Use the system border style",
|
||||
@@ -602,7 +602,7 @@
|
||||
]
|
||||
},
|
||||
"border_width": {
|
||||
"description": "Width of the window border (default: 8)",
|
||||
"description": "Width of window borders (default: 8)",
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user