aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorlukeflo2025-06-30 14:59:39 +0200
committerlukeflo2025-06-30 14:59:39 +0200
commit1b79ba0fb9f4a1d96c0de1fbf6ab42d8e1b0873c (patch)
tree83258e7dee7f0eac0233c99ae930967e30a8cc4f /src/config.rs
parent4ca8417812db530cd157fe5b1de70f6e74e9c400 (diff)
downloadbibiman-1b79ba0fb9f4a1d96c0de1fbf6ab42d8e1b0873c.tar.gz
bibiman-1b79ba0fb9f4a1d96c0de1fbf6ab42d8e1b0873c.zip
colored symbols for attachements, basic implementation
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs9
1 files changed, 9 insertions, 0 deletions
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<PathBuf>,
pub note_path: Option<PathBuf>,
pub note_extensions: Option<Vec<String>>,
+ 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()