Group enum, Copy RenderConfig

This commit is contained in:
Csaba
2024-11-07 09:38:19 +01:00
parent 6a91dd46cd
commit 80f0214e47
3 changed files with 19 additions and 13 deletions
+7
View File
@@ -28,6 +28,8 @@ pub struct KomobarConfig {
pub max_label_width: Option<f32>,
/// Theme
pub theme: Option<KomobarTheme>,
/// Visual grouping for widgets
pub group: Option<Group>,
/// Left side widgets (ordered left-to-right)
pub left_widgets: Vec<WidgetConfig>,
/// Right side widgets (ordered left-to-right)
@@ -178,3 +180,8 @@ pub enum LabelPrefix {
/// Show an icon and text
IconAndText,
}
#[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema)]
pub enum Group {
None
}