From c52dc7ed6951af2d74804d1275e577205960b235 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Thu, 27 Feb 2025 17:45:40 +0100 Subject: add `file_prefix` option to config and opening function --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 956b724..f1ac3ca 100644 --- a/src/config.rs +++ b/src/config.rs @@ -41,6 +41,7 @@ pub struct General { pub editor: Option, pub pdf_opener: String, pub url_opener: String, + pub file_prefix: Option, } /// Substruct [colors] in config.toml @@ -66,6 +67,7 @@ impl Default for BibiConfig { editor: None, pdf_opener: select_opener(), url_opener: select_opener(), + file_prefix: None, }, colors: Colors { main_text_color: Color::Indexed(250), -- cgit v1.2.3