configurations things
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use toml::Table;
|
||||
|
||||
use crate::display::Display;
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct BarbarConfig {
|
||||
pub monitor: Option<String>,
|
||||
#[serde(default)]
|
||||
pub display: Display,
|
||||
pub ups: Option<i32>, // Updates per second
|
||||
pub order: ModuleOrder,
|
||||
pub modules: Option<Table>, // 'clock': [clock settings]
|
||||
|
||||
Reference in New Issue
Block a user