diff options
| author | lukeflo | 2025-02-19 21:13:50 +0100 |
|---|---|---|
| committer | lukeflo | 2025-02-19 21:13:50 +0100 |
| commit | dc5ded8160177864963a31476c2a7afe8ca8e834 (patch) | |
| tree | abc0e3293b89fa24d3b9a7cbfe5dbc9d83d1d8b5 /src/main.rs | |
| parent | 3bdd57994d94839aef04871bd0247f2b82b71d35 (diff) | |
| download | bibiman-dc5ded8160177864963a31476c2a7afe8ca8e834.tar.gz bibiman-dc5ded8160177864963a31476c2a7afe8ca8e834.zip | |
resource opener in config
+ implement config field `pdf_opener` for setting app to open PDFs/Epubs
+ implement config field `url_opener` for setting app to open URLs/DOIs
+ function to select fallback if no field is provided in config
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 37bead0..d53aaab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -48,7 +48,7 @@ async fn main() -> Result<()> { let mut cfg = if parsed_args.cfg_path.is_file() { BibiConfig::new(&parsed_args)? } else { - BibiConfig::default(&parsed_args) + BibiConfig::default() }; init_error_hooks()?; |
