diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-19 10:46:22 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-19 10:46:22 +0300 |
| commit | 8ec2807ece746b001e3d64a1db990ce239a98801 (patch) | |
| tree | 435415c1a9040c41276466d8a74137a964c01a2d /Taskfile.yaml | |
| parent | 9c87952fbae0b84cde3802086eed88f3a0c51051 (diff) | |
cv0: open YouTube links in an alternative browser
The 'o' open key now routes youtube.com/youtu.be video links to an
optional alternative browser (e.g. chromium) via the new
--youtube-browser-cmd flag, while every other URL keeps using
--browser-cmd. When the flag is unset, YouTube links fall back to the
default browser as before.
- add youtubeBrowserCmd field and SetYouTubeBrowserCmd setter
- add youtubeHostRegex plus isYouTubeURL and browserForURL helpers
- wire --youtube-browser-cmd flag in main.go
- unit-test URL detection and browser selection
- document the flag in README
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'Taskfile.yaml')
0 files changed, 0 insertions, 0 deletions
