wireman_theme/
config.rs

1use serde::{Deserialize, Serialize};
2
3/// The ui config for wireman
4#[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq, Eq, PartialOrd)]
5pub struct Config {
6    /// The file path to the skin toml file.
7    pub skin: Option<String>,
8}
9
10impl Config {
11    #[must_use]
12    pub fn new(skin: Option<String>) -> Self {
13        Self { skin }
14    }
15}