diff --git a/komorebi-bar/src/widget.rs b/komorebi-bar/src/widget.rs index 84c44fe6..8f188ad1 100644 --- a/komorebi-bar/src/widget.rs +++ b/komorebi-bar/src/widget.rs @@ -30,13 +30,14 @@ pub trait BarWidget { #[derive(Clone)] pub struct RenderConfig { + /// Sets how widgets are grouped group: i32, } impl RenderConfig { pub fn from(config: Arc) -> Self { Self { group: 1 } - } + } } #[derive(Clone, Debug, Serialize, Deserialize, JsonSchema)]