diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-26 02:46:06 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-26 02:46:06 -0400 |
| commit | dac28584537d5b9ef572fdaa4036091bb58e8c9e (patch) | |
| tree | ad8991a505dc109fbacf148ed1be42cd54912c01 /modules/cj-cache-lib.el | |
| parent | 64d5b304ed0066d6bb29b3e6b61b37c55bd09fe0 (diff) | |
| download | dotemacs-dac28584537d5b9ef572fdaa4036091bb58e8c9e.tar.gz dotemacs-dac28584537d5b9ef572fdaa4036091bb58e8c9e.zip | |
feat(external-open): open videos in a looping player
Opening a video from dirvish routed through cj/xdg-open to the OS default handler, which plays it once. I pulled the video extensions into their own cj/video-extensions list and route them through a new cj/open-video-looping, which launches mpv with --loop-file=inf (the player and its args are both customizable) detached, so the video plays on repeat. Audio and office docs still use the OS default handler. The find-file advice already covers dirvish RET, so this applies wherever a video is opened.
Diffstat (limited to 'modules/cj-cache-lib.el')
0 files changed, 0 insertions, 0 deletions
