diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-24 16:26:30 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-24 16:26:30 +0200 |
commit | 994971a56d50e8bb6d01583ac71fee90463e855d (patch) | |
tree | 89a91ab91c15666da15f999f07e978154b50eac2 /crates/yt/src/commands/select/implm/standalone/mod.rs | |
parent | fix(crates/yt/storage/db/videos/comments): Don't always associate a reply wit... (diff) | |
download | yt-994971a56d50e8bb6d01583ac71fee90463e855d.zip |
fix(crates/yt/commands/select): Allow configuring the `yt select url` opener
Diffstat (limited to 'crates/yt/src/commands/select/implm/standalone/mod.rs')
-rw-r--r-- | crates/yt/src/commands/select/implm/standalone/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/yt/src/commands/select/implm/standalone/mod.rs b/crates/yt/src/commands/select/implm/standalone/mod.rs index dd6de45..8b1008e 100644 --- a/crates/yt/src/commands/select/implm/standalone/mod.rs +++ b/crates/yt/src/commands/select/implm/standalone/mod.rs @@ -47,8 +47,8 @@ pub(crate) async fn handle_select_cmd( bail!("You need to provide a url to `select url ..`") }; - let mut firefox = std::process::Command::new("firefox"); - firefox.args(["-P", "timesinks.youtube"]); + let mut firefox = std::process::Command::new(app.config.commands.url_opener.first()); + firefox.args(app.config.commands.url_opener.tail()); firefox.arg(url.as_str()); let _handle = firefox.spawn().context("Failed to run firefox")?; None |