From b8b3b3d615f253f795b9487ea1652c64293a0b83 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sun, 21 Apr 2024 14:12:09 -0700 Subject: [PATCH] docs(wm): add stackbar config struct docs --- komorebi/src/static_config.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/komorebi/src/static_config.rs b/komorebi/src/static_config.rs index 4a6a43463..35cda514f 100644 --- a/komorebi/src/static_config.rs +++ b/komorebi/src/static_config.rs @@ -304,22 +304,30 @@ pub struct StaticConfig { /// Set display index preferences #[serde(skip_serializing_if = "Option::is_none")] pub display_index_preferences: Option>, + /// Stackbar configuration options #[serde(skip_serializing_if = "Option::is_none")] pub stackbar: Option, } #[derive(Debug, Serialize, Deserialize, JsonSchema)] pub struct TabsConfig { + /// Width of a stackbar tab width: Option, + /// Focused tab text colour focused_text: Option, + /// Unfocused tab text colour unfocused_text: Option, + /// Tab background colour background: Option, } #[derive(Debug, Serialize, Deserialize, JsonSchema)] pub struct StackbarConfig { + /// Stackbar height pub height: Option, + /// Stackbar mode pub mode: Option, + /// Stackbar tab configuration options pub tabs: Option, }