fucking something i forgot
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use toml::Table;
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct BarbarConfig {
|
||||
pub monitor: Option<String>,
|
||||
pub ups: Option<i32>, // Updates per second
|
||||
pub modules: Option<Table>, // 'clock': [clock settings]
|
||||
pub services: Option<Table>, // 'clockticker': [clockticker settings]
|
||||
}
|
||||
@@ -4,10 +4,12 @@
|
||||
//! layer-shell effects). `common` is the hub every other crate depends on,
|
||||
//! so it must stay acyclic and pure.
|
||||
|
||||
mod config;
|
||||
mod effect;
|
||||
mod module;
|
||||
mod service;
|
||||
|
||||
pub use config::BarbarConfig;
|
||||
pub use effect::ModuleEffect;
|
||||
pub use module::{BarModule, ModuleMsg};
|
||||
pub use service::{Service, ServiceEvent};
|
||||
|
||||
Reference in New Issue
Block a user