config: Remove default configuration

This commit is contained in:
Kenny Levinsen
2023-02-14 00:30:46 +01:00
parent 6fac465c3a
commit 764a1e3444
2 changed files with 1 additions and 73 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ fn main() {
let home = env::var_os("HOME").unwrap().into_string().unwrap();
let config: Config = match File::open(format!("{}/.config/wldash/config.yml", home)) {
Ok(f) => serde_yaml::from_reader(f).unwrap(),
Err(_) => Default::default(),
Err(_) => panic!("configuration file missing"),
};
if let Some(font_paths) = config.font_paths {