elfeed-org: split source into mutliple files (rss and youtube)

Move elfeed-tube custom variables into an actual custom block
This commit is contained in:
Evie Litherland-Smith 2024-03-11 07:27:50 +00:00
parent 463f47c611
commit 5a10f40163

View file

@ -23,7 +23,10 @@ Manage elfeed subscriptions in an org-mode file instead of elisp.
:ensure t :ensure t
:after (elfeed org) :after (elfeed org)
:custom :custom
(rmh-elfeed-org-files (list (expand-file-name "feeds.org" org-directory))) (rmh-elfeed-org-files
(list
(expand-file-name "feeds/rss.org" org-directory)
(expand-file-name "feeds/youtube.org" org-directory)))
:config :config
(elfeed-org)) (elfeed-org))
#+end_src #+end_src
@ -34,16 +37,17 @@ Use elfeed for YouTube subscriptions, including getting video transcripts.
(use-package elfeed-tube (use-package elfeed-tube
:ensure t :ensure t
:after elfeed :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 :bind ( :map elfeed-show-mode-map
("F" . elfeed-tube-fetch) ("F" . elfeed-tube-fetch)
([remap save-buffer] . elfeed-tube-save) ([remap save-buffer] . elfeed-tube-save)
:map elfeed-search-mode-map :map elfeed-search-mode-map
("F" . elfeed-tube-fetch) ("F" . elfeed-tube-fetch)
([remap save-buffer] . elfeed-tube-save))) ([remap save-buffer] . elfeed-tube-save))
:custom
(elfeed-tube-auto-save-p nil)
(elfeed-tube-auto-fetch-p t)
:config
(elfeed-tube-setup))
(use-package elfeed-tube-mpv (use-package elfeed-tube-mpv
:ensure t :ensure t
:after elfeed-tube :after elfeed-tube