Commit d577c7dfb4

d577c7dfb4f5813cfca77678431ef8e19f555fe6

parent: 0608c1aaa1

Unregistered key

Matthias Ahouansou <matthias@ahouansou.cz> · 2025-08-04 10:57 UTC

use xdg-open as default "browser"

this makes it so users default browsers are used by default

Layout: unified · split

README.md +1 −1
@@ -35,7 +35,7 @@ images: Sixels
3535refresh_after_modifying_search_filters: true
3636provider: YouTube
3737env:
38 browser: firefox
38 browser: xdg-open
3939 video-player: mpv
4040 youtube-downloader: yt-dlp
4141 terminal-emulator: konsole -e
docs/src/README.md +1 −1
@@ -24,7 +24,7 @@ images: Sixels
2424refresh_after_modifying_search_filters: true
2525provider: YouTube
2626env:
27 browser: firefox
27 browser: xdg-open
2828 video-player: mpv
2929 youtube-downloader: yt-dlp
3030 terminal-emulator: konsole -e
docs/src/basic_usage.md +1 −1
@@ -61,7 +61,7 @@ While any "play audio" options will start playing the audio in the embedded audi
6161
6262You can also play audio and videos externally.
6363
64> This part assumes that you use `mpv` as your video player, `konsole` as your terminal emulator, `yt-dlp` as your YouTube video downloader, and `firefox` as your browser.
64> This part assumes that you use `mpv` as your video player, `konsole` as your terminal emulator and `yt-dlp` as your YouTube video downloader.
6565>
6666> If that is not the case, you can learn how to change that in the *custom commands* section.
6767
docs/src/config/main.md +1 −1
@@ -32,7 +32,7 @@ env:
3232 terminal-emulator: konsole -e
3333 youtube-downloader: yt-dlp
3434 save-path: ~/.local/share/youtube-tui/saved/
35 browser: firefox
35 browser: xdg-open
3636```
3737
3838<hr>
src/config/main.rs +1 −1
@@ -256,7 +256,7 @@ const fn write_to_config_default() -> WriteConfig {
256256fn default_env() -> HashMap<String, String> {
257257 HashMap::from([
258258 (String::from("video-player"), String::from("mpv")),
259 (String::from("browser"), String::from("firefox")),
259 (String::from("browser"), String::from("xdg-open")),
260260 (
261261 String::from("terminal-emulator"),
262262 String::from("konsole -e"),