Add elfeed-tube maps and extra config

Add elfeed-tube-mpv, mpv package calls
This commit is contained in:
Evie Litherland-Smith 2024-02-16 06:24:17 +00:00
parent d2c214051d
commit e8f25623b2
2 changed files with 34 additions and 7 deletions

View file

@ -308,10 +308,32 @@
("C-c f u" . elfeed-update)) ("C-c f u" . elfeed-update))
:hook (elfeed-search-mode . elfeed-update) :hook (elfeed-search-mode . elfeed-update)
:config :config
(use-package elfeed-org (require 'elfeed-org)
:ensure t (require 'elfeed-tube)
:config (elfeed-org)) (require 'elfeed-tube-mpv))
(use-package elfeed-tube (use-package elfeed-org
:ensure t :ensure t
:config (elfeed-tube-setup))) :after elfeed
:config
(elfeed-org))
(use-package elfeed-tube
:ensure t
:after elfeed
:config
(setq elfeed-tube-auto-save-p nil)
(setq elfeed-tube-auto-fetch-p t)
(elfeed-tube-setup)
:bind ( :map elfeed-show-mode-map
("F" . elfeed-tube-fetch)
([remap save-buffer] . elfeed-tube-save)
:map elfeed-search-mode-map
("F" . elfeed-tube-fetch)
([remap save-buffer] . elfeed-tube-save)))
(use-package elfeed-tube-mpv
:ensure t
:after elfeed-tube
:init (require 'mpv)
:bind ( :map elfeed-show-mode-map
("C-c C-f" . elfeed-tube-mpv-follow-mode)
("C-c C-w" . elfeed-tube-mpv-where)))
#+end_src #+end_src

View file

@ -36,4 +36,9 @@
(emms-mpris-enable) (emms-mpris-enable)
(add-hook 'emms-player-started-hook #'emms-show)) (add-hook 'emms-player-started-hook #'emms-show))
#+end_src #+end_src
* MPV
#+begin_src emacs-lisp
(use-package mpv
:ensure t
:diminish)
#+end_src