diff --git a/src/structs/config.rs b/src/structs/config.rs index f9d64a6..6239e09 100644 --- a/src/structs/config.rs +++ b/src/structs/config.rs @@ -1,5 +1,4 @@ -use core::time; -use std::{collections::HashMap, time::Duration}; +use std::{collections::HashMap}; use serde::{Serialize, Deserialize}; @@ -98,22 +97,22 @@ impl Config { "Chromium".to_owned() ] } - + fn default_metadata_fields() -> Vec { vec![ Field::constructor("xesam:title", 40), Field::constructor("xesam:artist", 20) ] } - + fn default_player_prefixes() -> HashMap { let mut out: HashMap = HashMap::new(); - + out.insert("Clementine".to_owned(), 'c'); out.insert("Firefox".to_owned(), 'f'); out.insert("Spotify".to_owned(), 's'); out.insert("default".to_owned(), '>'); - + out } }