Add support for YAML

This commit is contained in:
Kenny Levinsen
2019-09-07 12:26:30 +02:00
parent 9908392af1
commit 14388085cb
6 changed files with 105 additions and 9 deletions
+1 -1
View File
@@ -147,10 +147,10 @@ impl Default for OutputMode {
#[derive(Serialize, Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct Config {
pub widget: Widget,
pub output_mode: OutputMode,
pub scale: u32,
pub background: Color,
pub widget: Widget,
}
impl Default for Config {