Stop using elfeed-tube, move feeds.org to emacs config directory
Change bind for starting elfeed Change calendar bind to match org calendar bind Change feed directory function to feed file instead
This commit is contained in:
parent
215700a7bc
commit
dce149da7f
19
feeds.org
Normal file
19
feeds.org
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#+title: RSS Feeds
|
||||||
|
#+author: Evie Litherland-Smith
|
||||||
|
#+email: evie@xenia.me.uk
|
||||||
|
#+language: en
|
||||||
|
#+filetags: rss
|
||||||
|
* root :elfeed:
|
||||||
|
** Blogs :blog:
|
||||||
|
*** https://proton.me/blog/feed
|
||||||
|
** FOSS Software :foss:software:
|
||||||
|
*** https://forgejo.org/rss.xml :git:
|
||||||
|
** News :news:
|
||||||
|
*** Linux :linux:
|
||||||
|
**** https://libera.chat/atom.xml :irc:
|
||||||
|
**** https://nyxt.atlas.engineer/feed :browser:
|
||||||
|
**** https://systemcrafters.net/rss/news.xml
|
||||||
|
** Podcasts :podcast:
|
||||||
|
*** https://podcasts.watchnebula.com/chilloutpod
|
||||||
|
** Programming :programming:
|
||||||
|
*** Python :python:
|
43
init.el
43
init.el
|
@ -361,14 +361,14 @@
|
||||||
(keymap-global-set "C-c w b" #'my/open-global-bibliography)
|
(keymap-global-set "C-c w b" #'my/open-global-bibliography)
|
||||||
|
|
||||||
;; Elfeed feeds directory shortcut
|
;; Elfeed feeds directory shortcut
|
||||||
(defun my/open-feeds-directory ()
|
(defun my/open-feeds-file ()
|
||||||
"Open directory containing elfeed sources."
|
"Open elfeed org source file."
|
||||||
(interactive)
|
(interactive)
|
||||||
(require 'org)
|
(require 'org)
|
||||||
(require 'elfeed)
|
(require 'elfeed)
|
||||||
(require 'elfeed-org)
|
(require 'elfeed-org)
|
||||||
(find-file (file-name-directory (car rmh-elfeed-org-files))))
|
(find-file (car rmh-elfeed-org-files)))
|
||||||
(keymap-global-set "C-c w f" #'my/open-feeds-directory)
|
(keymap-global-set "C-c w f" #'my/open-feeds-file)
|
||||||
|
|
||||||
(defun my/open-documents-directory ()
|
(defun my/open-documents-directory ()
|
||||||
"Open Documents directory."
|
"Open Documents directory."
|
||||||
|
@ -393,7 +393,7 @@ Try `magit-clone-default-directory' if available, fall back to
|
||||||
(keymap-global-set "C-c w p" #'my/open-projects-directory)
|
(keymap-global-set "C-c w p" #'my/open-projects-directory)
|
||||||
|
|
||||||
(use-package calendar
|
(use-package calendar
|
||||||
:bind (("C-c ." . calendar))
|
:bind (("C-c >" . calendar))
|
||||||
:custom
|
:custom
|
||||||
(calendar-date-style 'iso)
|
(calendar-date-style 'iso)
|
||||||
(calendar-mark-holidays-flag t)
|
(calendar-mark-holidays-flag t)
|
||||||
|
@ -1416,47 +1416,20 @@ Try `magit-clone-default-directory' if available, fall back to
|
||||||
(gnus-icalendar-org-setup))
|
(gnus-icalendar-org-setup))
|
||||||
|
|
||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
:bind (("C-c f f" . elfeed)
|
:bind (("C-c f" . elfeed))
|
||||||
("C-c f u" . elfeed-update))
|
|
||||||
:hook (elfeed-search-mode . elfeed-update)
|
:hook (elfeed-search-mode . elfeed-update)
|
||||||
:custom
|
:custom
|
||||||
(elfeed-search-filter "@2-weeks-ago +unread")
|
(elfeed-search-filter "@2-weeks-ago +unread")
|
||||||
:config
|
:config
|
||||||
(require 'elfeed-org)
|
(require 'elfeed-org))
|
||||||
(require 'elfeed-tube))
|
|
||||||
|
|
||||||
(use-package elfeed-org
|
(use-package elfeed-org
|
||||||
:after (elfeed org)
|
:after (elfeed org)
|
||||||
:custom
|
:custom
|
||||||
(rmh-elfeed-org-files
|
(rmh-elfeed-org-files (list (locate-user-emacs-file "feeds.org")))
|
||||||
(list
|
|
||||||
(expand-file-name "rss.org" elfeed-db-directory)
|
|
||||||
(expand-file-name "youtube.org" elfeed-db-directory)))
|
|
||||||
:config
|
:config
|
||||||
(elfeed-org))
|
(elfeed-org))
|
||||||
|
|
||||||
(use-package elfeed-tube
|
|
||||||
:after elfeed
|
|
||||||
: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))
|
|
||||||
:custom
|
|
||||||
(elfeed-tube-auto-save-p nil)
|
|
||||||
(elfeed-tube-auto-fetch-p t)
|
|
||||||
:config
|
|
||||||
(elfeed-tube-setup)
|
|
||||||
(require 'elfeed-tube-mpv))
|
|
||||||
|
|
||||||
(use-package elfeed-tube-mpv
|
|
||||||
: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)))
|
|
||||||
|
|
||||||
(use-package password-store
|
(use-package password-store
|
||||||
:defer t)
|
:defer t)
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane
|
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane
|
||||||
;; Email
|
;; Email
|
||||||
mu4e
|
mu4e
|
||||||
;; RSS/YouTube feeds
|
;; RSS feeds
|
||||||
elfeed elfeed-org elfeed-tube elfeed-tube-mpv
|
elfeed elfeed-org
|
||||||
))
|
))
|
||||||
(package-install-selected-packages)
|
(package-install-selected-packages)
|
||||||
(package-autoremove)
|
(package-autoremove)
|
||||||
|
|
Loading…
Reference in a new issue