diff options
| author | lukeflo | 2025-06-30 14:59:39 +0200 |
|---|---|---|
| committer | lukeflo | 2025-06-30 14:59:39 +0200 |
| commit | 1b79ba0fb9f4a1d96c0de1fbf6ab42d8e1b0873c (patch) | |
| tree | 83258e7dee7f0eac0233c99ae930967e30a8cc4f /src/config.rs | |
| parent | 4ca8417812db530cd157fe5b1de70f6e74e9c400 (diff) | |
| download | bibiman-1b79ba0fb9f4a1d96c0de1fbf6ab42d8e1b0873c.tar.gz bibiman-1b79ba0fb9f4a1d96c0de1fbf6ab42d8e1b0873c.zip | |
colored symbols for attachements, basic implementation
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 9 |
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() |
