diff options
-rw-r--r-- | doom.d/init.el | 2 | ||||
-rw-r--r-- | doom.d/org/config.org | 22 |
2 files changed, 8 insertions, 16 deletions
diff --git a/doom.d/init.el b/doom.d/init.el index 9168e13..df595e1 100644 --- a/doom.d/init.el +++ b/doom.d/init.el @@ -167,7 +167,7 @@ :app calendar irc ; how neckbeards socialize - (rss +org) ; emacs as an RSS reader + (rss) ; emacs as an RSS reader ;;twitter ; twitter client https://twitter.com/vnought :config diff --git a/doom.d/org/config.org b/doom.d/org/config.org index 3b16275..f744115 100644 --- a/doom.d/org/config.org +++ b/doom.d/org/config.org @@ -57,28 +57,20 @@ A keybind and a routine Custom functions to work with elfeed, generating new feeds on demand and adding a keybind to help with that. -*** Custom functions and hook -These functions allow me to custom load and generate new feeds based on an opml file. +*** Feeds +Feeds for elfeed to download from. #+BEGIN_SRC elisp -(after! elfeed - (defun oreodave/elfeed/load-feeds () - (interactive) - (setq elfeed-feeds nil) - (elfeed-load-opml (concat org-directory "/elfeed.opml"))) +(setq elfeed-feeds + '(("http://feeds.bbci.co.uk/news/rss.xml" news) + ("http://www.technologyreview.com/rss") + ("https://news.ycombinator.com/rss" news compsci))) +#+END_SRC - (defun oreodave/elfeed/on-new-feed () - (interactive) - (elfeed-org-export-opml) - (write-file (concat org-directory "/elfeed.opml")) - (kill-current-buffer)) - (add-hook 'elfeed-org-new-entry-hook 'oreodave/elfeed/on-new-feed)) -#+END_SRC *** Keybinds Keybinds for elfeed locally and for the leader. #+BEGIN_SRC elisp (map! - :after elfeed (:map elfeed-search-mode-map :localleader :desc "Update feeds" "u" #'elfeed-update) |