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 | 5202be55cec113b7b3c11d751478fe088cbb555b (patch) | |
| tree | 05d5bd280a08fd67566192b0adadb5202bdcb96f /modules/custom-buffer-file.el | |
| parent | d507ceb4c6a079f74d40356c54c3c133fa28acb9 (diff) | |
| download | dotemacs-5202be55cec113b7b3c11d751478fe088cbb555b.tar.gz dotemacs-5202be55cec113b7b3c11d751478fe088cbb555b.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/custom-buffer-file.el')
0 files changed, 0 insertions, 0 deletions
