adding empv mastodon

This commit is contained in:
Chris Cochrun 2024-12-12 09:54:23 -06:00
parent f1d0f9d77b
commit ab32fb0ad4
2 changed files with 12 additions and 16 deletions

View file

@ -4875,6 +4875,12 @@ With empv we can perhaps control mpv much more fine grainly and even search yout
(general-auto-unbind-keys)
(add-hook 'empv-youtube-results-mode-hook #'evil-normal-state)
(defun mpv-start (video other)
"Load a video from mast into empv"
(message video)
(message other)
(empv-play-or-enqueue file))
(defun chris/empv-yt-dlp ()
"Download the current video and and play it"
(interactive)

22
init.el
View file

@ -3541,6 +3541,12 @@ targets."
(general-auto-unbind-keys)
(add-hook 'empv-youtube-results-mode-hook #'evil-normal-state)
(defun mpv-start (video other)
"Load a video from mast into empv"
(message video)
(message other)
(empv-play-or-enqueue file))
(defun chris/empv-yt-dlp ()
"Download the current video and and play it"
(interactive)
@ -4141,19 +4147,3 @@ interfere with the default `bongo-playlist-buffer'."
gcmh-verbose nil))
(setq warning-suppress-types '((comp)))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(pdf-misc-print-program-args
'("-o media=Letter" "-o fit-to-page" "-o sides=two-sided-long-edge"))
'(pdf-misc-print-program-executable "lpr")
'(safe-local-variable-values '((rustic-rustfmt-args . "--edition 2021"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(markdown-code-face ((t (:inherit org-block))))
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))