From b54d9741925a3687ac9e2f17da74c8a9441da974 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sun, 3 May 2026 11:15:27 -0700 Subject: [PATCH] feat(docs): regenerate macos references --- src/content/docs/reference/bar-macos.mdx | 92 ++++++++++++++- src/content/docs/reference/komorebi-macos.mdx | 109 +++++++++++++++++- 2 files changed, 199 insertions(+), 2 deletions(-) diff --git a/src/content/docs/reference/bar-macos.mdx b/src/content/docs/reference/bar-macos.mdx index e56ef352..18a7cf81 100644 --- a/src/content/docs/reference/bar-macos.mdx +++ b/src/content/docs/reference/bar-macos.mdx @@ -8201,7 +8201,7 @@ Storage widget configuration
-Properties (7) +Properties (8) #### enable {#storageconfig-enable} @@ -8274,6 +8274,13 @@ Show removable disks **Default:** `true` +#### storage_display_name {#storageconfig-storage_display_name} + + [`StorageDisplayName`](#storagedisplayname) + +Storage display name + +
#### Usages @@ -8284,6 +8291,89 @@ Show removable disks +--- + + +### StorageDisplayName {#storagedisplayname} + + + + + + +
+Enum variants (4) + + +--- + +#### Mount + + +Display label as mount point eg. / + + + + +**Value:** `"Mount"` + + + + +--- + +#### Name + + +Display label as name eg. Macintosh HD + + + + +**Value:** `"Name"` + + + + +--- + +#### MountAndName + + +Display label as mount then name eg. / Macintosh HD + + + + +**Value:** `"MountAndName"` + + + + +--- + +#### NameAndMount + + +Display label as name then mount eg. Macintosh HD / + + + + +**Value:** `"NameAndMount"` + + + + +
+#### Usages + + +**Referenced by:** +- [`StorageConfig`](#storageconfig) + + + --- diff --git a/src/content/docs/reference/komorebi-macos.mdx b/src/content/docs/reference/komorebi-macos.mdx index 13bbb49b..4e67c0cd 100644 --- a/src/content/docs/reference/komorebi-macos.mdx +++ b/src/content/docs/reference/komorebi-macos.mdx @@ -249,6 +249,24 @@ Individual window floating rules +--- +### layout_defaults {#layout_defaults} + + `object` + +Per-layout default options and rules, keyed by layout name. +Applied as fallback when a workspace does not define its own layout_options or layout_options_rules. +If a workspace defines either setting, all global defaults for that layout are completely replaced. + +
+Additional Properties + +[`LayoutDefaultEntry`](#layoutdefaultentry) + + + +
+ --- ### manage_rules {#manage_rules} @@ -6738,7 +6756,10 @@ Maximum number of rows per grid column #### Usages **Configuration:** +- [`.layout_defaults[*].layout_options.grid`](#layoutoptions-grid) +- [`.layout_defaults[*].layout_options_rules[*].grid`](#layoutoptions-grid) - [`.monitors[].workspaces[].layout_options.grid`](#layoutoptions-grid) +- [`.monitors[].workspaces[].layout_options_rules[*].grid`](#layoutoptions-grid) **Referenced by:** @@ -7241,6 +7262,53 @@ Unfocused locked window border colour +--- + + +### LayoutDefaultEntry {#layoutdefaultentry} + +Per-layout default options entry for the `layout_defaults` global setting. +Contains both base layout options and threshold-based layout options rules. + + +
+Properties (2) + + + +#### layout_options {#layoutdefaultentry-layout_options} + + [`LayoutOptions`](#layoutoptions) + +Default layout options for this layout + + +#### layout_options_rules {#layoutdefaultentry-layout_options_rules} + + `object` + +Threshold-based layout options rules in the format of threshold => options. +When container count >= threshold, the highest matching threshold's options +fully replace the base `layout_options`. + + + + +**Key:** `""` **→** [`LayoutOptions`](#layoutoptions) + + + + + +
+#### Usages + +**Configuration:** +- [`.layout_defaults[*]`](#layout_defaults) + + + + --- @@ -7330,10 +7398,14 @@ Options related to the Scrolling layout #### Usages **Configuration:** +- [`.layout_defaults[*].layout_options`](#layoutdefaultentry-layout_options) +- [`.layout_defaults[*].layout_options_rules[*]`](#layoutdefaultentry-layout_options_rules) - [`.monitors[].workspaces[].layout_options`](#workspaceconfig-layout_options) +- [`.monitors[].workspaces[].layout_options_rules[*]`](#workspaceconfig-layout_options_rules) **Referenced by:** +- [`LayoutDefaultEntry`](#layoutdefaultentry) - [`WorkspaceConfig`](#workspaceconfig) @@ -8161,6 +8233,7 @@ Top point of the rectangle - [`.monitors[].window_based_work_area_offset`](#monitorconfig-window_based_work_area_offset) - [`.monitors[].work_area_offset`](#monitorconfig-work_area_offset) - [`.monitors[].workspaces[].work_area_offset`](#workspaceconfig-work_area_offset) +- [`.monitors[].workspaces[].work_area_offset_rules[*]`](#workspaceconfig-work_area_offset_rules) **Referenced by:** @@ -8285,7 +8358,10 @@ With an odd number of visible columns, keep the focused window column centered #### Usages **Configuration:** +- [`.layout_defaults[*].layout_options.scrolling`](#layoutoptions-scrolling) +- [`.layout_defaults[*].layout_options_rules[*].scrolling`](#layoutoptions-scrolling) - [`.monitors[].workspaces[].layout_options.scrolling`](#layoutoptions-scrolling) +- [`.monitors[].workspaces[].layout_options_rules[*].scrolling`](#layoutoptions-scrolling) **Referenced by:** @@ -8632,7 +8708,7 @@ Workspace configuration
-Properties (17) +Properties (19) #### name {#workspaceconfig-name} @@ -8711,6 +8787,23 @@ Specify an axis on which to flip the selected layout Layout-specific options +#### layout_options_rules {#workspaceconfig-layout_options_rules} + + `object` + +Threshold-based layout options rules in the format of threshold => options. +When container count >= threshold, the highest matching threshold's options +fully replace the base `layout_options`. +This follows the same threshold logic as `layout_rules`. + + + + +**Key:** `""` **→** [`LayoutOptions`](#layoutoptions) + + + + #### layout_rules {#workspaceconfig-layout_rules} `object` @@ -8773,6 +8866,20 @@ Window container behaviour rules in the format of threshold => behaviour Workspace specific work area offset +#### work_area_offset_rules {#workspaceconfig-work_area_offset_rules} + + `object` + +Work area offset rules in the format of threshold => Rect (default: None) + + + + +**Key:** `""` **→** [`Rect`](#rect) + + + + #### workspace_padding {#workspaceconfig-workspace_padding} `integer`