small change to config
This commit is contained in:
@@ -49,7 +49,7 @@ impl Default for Rating {
|
|||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Serialize, Deserialize)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
pub font_index: u8,
|
pub font_index: u8,
|
||||||
pub metadata_separator: char, //replace with custom string, to allow for font indexing with polybar (+ custom BG and FG color) TODO
|
pub metadata_separator: String,
|
||||||
pub array_separator: char,
|
pub array_separator: char,
|
||||||
pub hide_output: bool,
|
pub hide_output: bool,
|
||||||
pub fuzzy: bool,
|
pub fuzzy: bool,
|
||||||
@@ -67,7 +67,7 @@ impl Default for Config {
|
|||||||
Config {
|
Config {
|
||||||
font_index: 1,
|
font_index: 1,
|
||||||
update_delay: time::Duration::from_millis(300),
|
update_delay: time::Duration::from_millis(300),
|
||||||
metadata_separator: '|',
|
metadata_separator: "|".to_owned(),
|
||||||
array_separator: '+',
|
array_separator: '+',
|
||||||
hide_output: true,
|
hide_output: true,
|
||||||
fuzzy: false,
|
fuzzy: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user