mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-29 03:42:46 +01:00
refactor(kde): converge the docs of the core behaviour enums to the Windows spelling
WindowContainerBehaviour, FloatingLayerBehaviour, Placement, CrossBoundaryBehaviour and WindowPlacement said 'behavior' in KDE and 'behaviour' in Windows and macOS (the doc text is otherwise identical), so one copy in komorebi-config can be moved only after they agree. Same choice as the step 2 payload enums. Schema: komorebi-for-kde/schema.json regenerated with the real komorebic (5 description lines, 10 changed lines); equal to the old file after deleting every description (jq walk), so description-only. schema.asc.json is unchanged. Windows and macOS schemas are untouched (they already said 'behaviour'). Verified: KDE cargo build -p komorebic and regeneration (tier 1). Not done: komorebi-for-kde/nix/komorebi-options.nix still carries the old text and an old schema-sha256 header (already out of date since step 2); no schemars-nixgen here, refreshed by substitution at the end of the step.
This commit is contained in:
1 parent
5b7e769207
commit
aa78347add
2 files changed
+10
-10
No files matched your search
@@ -84,7 +84,7 @@ pub struct WindowManagementBehaviour {
|
||||
Clone, Copy, Debug, Default, Serialize, Deserialize, Display, EnumString, ValueEnum, PartialEq,
|
||||
)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Window container behavior when a new window is opened
|
||||
/// Window container behaviour when a new window is opened
|
||||
pub enum WindowContainerBehaviour {
|
||||
/// Create a new container for each new window
|
||||
#[default]
|
||||
@@ -97,7 +97,7 @@ pub enum WindowContainerBehaviour {
|
||||
Clone, Copy, Debug, Default, Serialize, Deserialize, Display, EnumString, ValueEnum, PartialEq,
|
||||
)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Floating layer behavior when a new window is opened
|
||||
/// Floating layer behaviour when a new window is opened
|
||||
pub enum FloatingLayerBehaviour {
|
||||
/// Tile new windows (unless they match a float rule or float override is active)
|
||||
#[default]
|
||||
@@ -123,7 +123,7 @@ pub enum WindowHidingPosition {
|
||||
Clone, Copy, Debug, Default, Serialize, Deserialize, Display, EnumString, ValueEnum, PartialEq,
|
||||
)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Placement behavior for floating windows
|
||||
/// Placement behaviour for floating windows
|
||||
pub enum Placement {
|
||||
/// Does not change the size or position of the window
|
||||
#[default]
|
||||
@@ -182,7 +182,7 @@ pub enum WindowPlacement {
|
||||
Secondary,
|
||||
/// Place the new window before the currently focused container
|
||||
BeforeFocused,
|
||||
/// Place the new window after the currently focused container (default behavior)
|
||||
/// Place the new window after the currently focused container (default behaviour)
|
||||
#[default]
|
||||
AfterFocused,
|
||||
/// Place the new window at the end of the container list
|
||||
@@ -372,7 +372,7 @@ pub enum PlacementMatchingRules {
|
||||
Clone, Copy, Debug, Default, Serialize, Deserialize, Display, EnumString, ValueEnum, PartialEq,
|
||||
)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Behavior when an action would cross a monitor boundary
|
||||
/// Behaviour when an action would cross a monitor boundary
|
||||
pub enum CrossBoundaryBehaviour {
|
||||
/// Attempt to perform actions across a workspace boundary
|
||||
Workspace,
|
||||
|
||||
@@ -2488,7 +2488,7 @@
|
||||
]
|
||||
},
|
||||
"CrossBoundaryBehaviour": {
|
||||
"description": "Behavior when an action would cross a monitor boundary",
|
||||
"description": "Behaviour when an action would cross a monitor boundary",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Attempt to perform actions across a workspace boundary",
|
||||
@@ -2553,7 +2553,7 @@
|
||||
]
|
||||
},
|
||||
"FloatingLayerBehaviour": {
|
||||
"description": "Floating layer behavior when a new window is opened",
|
||||
"description": "Floating layer behaviour when a new window is opened",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Tile new windows (unless they match a float rule or float override is active)",
|
||||
@@ -3363,7 +3363,7 @@
|
||||
]
|
||||
},
|
||||
"Placement": {
|
||||
"description": "Placement behavior for floating windows",
|
||||
"description": "Placement behaviour for floating windows",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Does not change the size or position of the window",
|
||||
@@ -3698,7 +3698,7 @@
|
||||
]
|
||||
},
|
||||
"WindowContainerBehaviour": {
|
||||
"description": "Window container behavior when a new window is opened",
|
||||
"description": "Window container behaviour when a new window is opened",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Create a new container for each new window",
|
||||
@@ -3746,7 +3746,7 @@
|
||||
"const": "BeforeFocused"
|
||||
},
|
||||
{
|
||||
"description": "Place the new window after the currently focused container (default behavior)",
|
||||
"description": "Place the new window after the currently focused container (default behaviour)",
|
||||
"type": "string",
|
||||
"const": "AfterFocused"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user