From 1b79ba0fb9f4a1d96c0de1fbf6ab42d8e1b0873c Mon Sep 17 00:00:00 2001 From: lukeflo Date: Mon, 30 Jun 2025 14:59:39 +0200 Subject: colored symbols for attachements, basic implementation --- src/config.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index c30d8d1..6723ce0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -98,6 +98,9 @@ pub struct General { pub pdf_path: Option, pub note_path: Option, pub note_extensions: Option>, + pub note_symbol: String, + pub file_symbol: String, + pub link_symbol: String, } /// Substruct [colors] in config.toml @@ -133,6 +136,9 @@ impl Default for BibiConfig { pdf_path: None, note_path: None, note_extensions: None, + note_symbol: String::from("N"), + file_symbol: String::from("F"), + link_symbol: String::from("L"), }, colors: Self::dark_colors(), } @@ -151,6 +157,9 @@ impl BibiConfig { pdf_path: None, note_path: None, note_extensions: None, + note_symbol: String::from("N"), + file_symbol: String::from("F"), + link_symbol: String::from("L"), }, colors: if args.light_theme { Self::light_colors() -- cgit v1.2.3