This commit is contained in:
Csaba
2024-11-06 23:55:59 +01:00
parent 0a5e0a4c0a
commit a5a7d6906c

View File

@@ -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<KomobarConfig>) -> Self {
Self { group: 1 }
}
}
}
#[derive(Clone, Debug, Serialize, Deserialize, JsonSchema)]