mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-20 07:31:39 +01:00
comment
This commit is contained in:
1 parent
0a5e0a4c0a
commit
a5a7d6906c
1 file changed
+2
-1
@@ -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)]
|
||||
|
||||
Reference in new issue
Block a user