mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-10 07:02:44 +02:00
comment
This commit is contained in:
@@ -30,13 +30,14 @@ pub trait BarWidget {
|
|||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct RenderConfig {
|
pub struct RenderConfig {
|
||||||
|
/// Sets how widgets are grouped
|
||||||
group: i32,
|
group: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl RenderConfig {
|
impl RenderConfig {
|
||||||
pub fn from(config: Arc<KomobarConfig>) -> Self {
|
pub fn from(config: Arc<KomobarConfig>) -> Self {
|
||||||
Self { group: 1 }
|
Self { group: 1 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize, JsonSchema)]
|
#[derive(Clone, Debug, Serialize, Deserialize, JsonSchema)]
|
||||||
|
|||||||
Reference in New Issue
Block a user