This commit is contained in:
2026-09-13 19:47:01 +01:00
parent 14c3bb0495
commit ec43d7b57a
12 changed files with 602 additions and 5 deletions
+2
View File
@@ -16,6 +16,7 @@ pub struct BarbarConfig {
#[derive(serde::Deserialize, Serialize, Clone, Copy, Debug)]
#[serde(rename_all = "lowercase")]
pub enum Modules {
Audio,
Clock,
Weather,
Workspaces,
@@ -24,6 +25,7 @@ pub enum Modules {
impl Modules {
pub fn to_string(&self) -> &str {
match self {
Modules::Audio => "audio",
Modules::Clock => "clock",
Modules::Weather => "weather",
Modules::Workspaces => "workspaces",