]> git.r.bdr.sh - rbdr/lyricli/blobdiff - src/configuration.rs
Add rust
[rbdr/lyricli] / src / configuration.rs
index f6784618490162c6a5f667c3be3561cb5276c2c9..55443eb3b7822c47c325842f40e0f16e2dfdd0c3 100644 (file)
@@ -8,7 +8,7 @@ use serde_json;
 const CONFIG_ENV_VARIABLE: &str = "LYRICLI_CONFIG_DIRECTORY";
 const CONFIG_DEFAULT_LOCATION: &str = "XDG_CONFIG_HOME";
 const CONFIG_FALLBACK_LOCATION: &str = ".config";
 const CONFIG_ENV_VARIABLE: &str = "LYRICLI_CONFIG_DIRECTORY";
 const CONFIG_DEFAULT_LOCATION: &str = "XDG_CONFIG_HOME";
 const CONFIG_FALLBACK_LOCATION: &str = ".config";
-const CONFIG_SUBDIRECTORY: &str = ".config";
+const CONFIG_SUBDIRECTORY: &str = "lyricli";
 const CONFIG_FILENAME: &str = "lyricli.conf";
 
 #[derive(Serialize, Deserialize, Debug)]
 const CONFIG_FILENAME: &str = "lyricli.conf";
 
 #[derive(Serialize, Deserialize, Debug)]
@@ -55,7 +55,8 @@ impl Configuration {
         Configuration {
             enabled_sources: vec![
                 "apple_music".to_string(),
         Configuration {
             enabled_sources: vec![
                 "apple_music".to_string(),
-                "spotify".to_string()
+                "spotify".to_string(),
+                "strawberry".to_string()
             ]
         }
     }
             ]
         }
     }