From a30d2a19ac6f0144c3df6480b5e17554972120a2 Mon Sep 17 00:00:00 2001 From: djairoh Date: Wed, 10 May 2023 14:04:25 +0200 Subject: [PATCH] small change to config --- src/structs/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structs/config.rs b/src/structs/config.rs index 105d448..52c0a6a 100644 --- a/src/structs/config.rs +++ b/src/structs/config.rs @@ -49,7 +49,7 @@ impl Default for Rating { #[derive(Serialize, Deserialize)] pub struct Config { 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 hide_output: bool, pub fuzzy: bool, @@ -67,7 +67,7 @@ impl Default for Config { Config { font_index: 1, update_delay: time::Duration::from_millis(300), - metadata_separator: '|', + metadata_separator: "|".to_owned(), array_separator: '+', hide_output: true, fuzzy: false,