|
|
@ -15,7 +15,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
//! TOML configuration for swayrbar.
|
|
|
|
//! TOML configuration for swayrbar.
|
|
|
|
|
|
|
|
|
|
|
|
use crate::bar::module::BarModuleFn; |
|
|
|
use crate::module::BarModuleFn; |
|
|
|
use serde::{Deserialize, Serialize}; |
|
|
|
use serde::{Deserialize, Serialize}; |
|
|
|
use std::collections::HashMap; |
|
|
|
use std::collections::HashMap; |
|
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ impl Default for Config { |
|
|
|
refresh_interval: 1000, |
|
|
|
refresh_interval: 1000, |
|
|
|
modules: vec!["date/0".to_owned()], |
|
|
|
modules: vec!["date/0".to_owned()], |
|
|
|
module_configs: vec![ |
|
|
|
module_configs: vec![ |
|
|
|
crate::bar::module::date::BarModuleDate::default_config( |
|
|
|
crate::module::date::BarModuleDate::default_config( |
|
|
|
"0".to_owned(), |
|
|
|
"0".to_owned(), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |