mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-25 10:08:33 +02: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)
|
/// Path to applications.json from komorebi-application-specific-configurations (default: None)
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub app_specific_configuration_path: Option<AppSpecificConfigurationPath>,
|
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(skip_serializing_if = "Option::is_none")]
|
||||||
#[serde(alias = "active_window_border_width")]
|
#[serde(alias = "active_window_border_width")]
|
||||||
pub border_width: Option<i32>,
|
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(skip_serializing_if = "Option::is_none")]
|
||||||
#[serde(alias = "active_window_border_offset")]
|
#[serde(alias = "active_window_border_offset")]
|
||||||
pub border_offset: Option<i32>,
|
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(skip_serializing_if = "Option::is_none")]
|
||||||
#[serde(alias = "active_window_border")]
|
#[serde(alias = "active_window_border")]
|
||||||
pub border: Option<bool>,
|
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(skip_serializing_if = "Option::is_none")]
|
||||||
#[serde(alias = "active_window_border_colours")]
|
#[serde(alias = "active_window_border_colours")]
|
||||||
pub border_colours: Option<BorderColours>,
|
pub border_colours: Option<BorderColours>,
|
||||||
/// Active window border style (default: System)
|
/// Window border style (default: System)
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
#[serde(alias = "active_window_border_style")]
|
#[serde(alias = "active_window_border_style")]
|
||||||
pub border_style: Option<BorderStyle>,
|
pub border_style: Option<BorderStyle>,
|
||||||
/// DEPRECATED from v0.1.31: no longer required
|
/// DEPRECATED from v0.1.31: no longer required
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub border_z_order: Option<ZOrder>,
|
pub border_z_order: Option<ZOrder>,
|
||||||
/// Active window border implementation (default: Komorebi)
|
/// Window border implementation (default: Komorebi)
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub border_implementation: Option<BorderImplementation>,
|
pub border_implementation: Option<BorderImplementation>,
|
||||||
/// Add transparency to unfocused windows (default: false)
|
/// Add transparency to unfocused windows (default: false)
|
||||||
|
|||||||
12
schema.json
12
schema.json
@@ -225,11 +225,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"border": {
|
"border": {
|
||||||
"description": "Display an active window border (default: true)",
|
"description": "Display window borders (default: true)",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"border_colours": {
|
"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",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"floating": {
|
"floating": {
|
||||||
@@ -469,7 +469,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"border_implementation": {
|
"border_implementation": {
|
||||||
"description": "Active window border implementation (default: Komorebi)",
|
"description": "Window border implementation (default: Komorebi)",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
"description": "Use the adjustable komorebi border implementation",
|
"description": "Use the adjustable komorebi border implementation",
|
||||||
@@ -488,7 +488,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"border_offset": {
|
"border_offset": {
|
||||||
"description": "Offset of the window border (default: -1)",
|
"description": "Offset of window borders (default: -1)",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
@@ -576,7 +576,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"border_style": {
|
"border_style": {
|
||||||
"description": "Active window border style (default: System)",
|
"description": "Window border style (default: System)",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
"description": "Use the system border style",
|
"description": "Use the system border style",
|
||||||
@@ -602,7 +602,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"border_width": {
|
"border_width": {
|
||||||
"description": "Width of the window border (default: 8)",
|
"description": "Width of window borders (default: 8)",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user