use cfg of spotify object

TODO:
- apply this to other single config values that are passed directly, e.g. in the
  statusbar
- use a more appropriate object to hold `cfg`
This commit is contained in:
Henrik Friedrichsen
2020-08-18 22:46:38 +02:00
parent cc2b1ae183
commit e5bc12b1ba
4 changed files with 5 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ pub struct Config {
pub backend_device: Option<String>,
pub volnorm: Option<bool>,
pub volnorm_pregain: Option<f32>,
pub notify: Option<bool>
pub notify: Option<bool>,
}
#[derive(Serialize, Deserialize, Debug, Default, Clone)]