diff options
author | Case Duckworth | 2022-04-02 13:52:59 -0500 |
---|---|---|
committer | Case Duckworth | 2022-04-02 13:52:59 -0500 |
commit | 8383d8cb8b2f69a254c23697f5570fc248eb9879 (patch) | |
tree | 8f08ab1a48532ff231aaac459ce651454d0ef4de | |
parent | Add +chicken.el (diff) | |
download | emacs-8383d8cb8b2f69a254c23697f5570fc248eb9879.tar.gz emacs-8383d8cb8b2f69a254c23697f5570fc248eb9879.zip |
Change default mpv viewer to cache
-rw-r--r-- | lisp/+browse-url.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/+browse-url.el b/lisp/+browse-url.el index 68fb7b0..dbbfef2 100644 --- a/lisp/+browse-url.el +++ b/lisp/+browse-url.el | |||
@@ -63,7 +63,9 @@ If FALLBACK is non-nil, it's a function to fallback on if the | |||
63 | (funcall fallback url new-window)))))) | 63 | (funcall fallback url new-window)))))) |
64 | 64 | ||
65 | ;; Reference implementation: mpv | 65 | ;; Reference implementation: mpv |
66 | (+browse-url-make-external-viewer-handler "mpv" nil "Video URL: ") | 66 | (+browse-url-make-external-viewer-handler "mpv" '("--cache-pause-wait=30" |
67 | "--cache-pause-initial=yes") | ||
68 | "Video URL: ") | ||
67 | ;; And feh too | 69 | ;; And feh too |
68 | (+browse-url-make-external-viewer-handler "feh" '("--auto-zoom" | 70 | (+browse-url-make-external-viewer-handler "feh" '("--auto-zoom" |
69 | "--geometry" "800x600")) | 71 | "--geometry" "800x600")) |