mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-17 06:11:21 +01:00
docs(schema): clarify that 'theme' takes priority over 'border_colours'
This commit is contained in:
1 parent
c6a13b04fd
commit
13635817c3
2 files changed
+8
-8
No files matched your search
@@ -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<AppSpecificConfigurationPath>,
|
||||
/// 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<i32>,
|
||||
/// 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<i32>,
|
||||
/// Radius of the window border (default: 10)
|
||||
/// Radius of window borders (default: 10)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub border_radius: Option<i32>,
|
||||
/// 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>,
|
||||
|
||||
+4
-4
@@ -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"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user