diff --git a/config.el b/config.el index f29092c..bfe7eaf 100644 --- a/config.el +++ b/config.el @@ -86,3 +86,17 @@ wallabag-show-sidebar 't wallabag-show-entry-switch 'switch-to-buffer) (add-hook 'wallabag-after-render-hook 'wallabag-search-update-and-clear-filter)) + (add-hook! 'doom-real-buffer-functions + (defun +rss-buffer-p (buf) + (string-match-p "^\\*wallabag" (buffer-name buf)))) +;; Set up elfeed +(after! elfeed + (setq elfeed-use-curl t) + (setq elfeed-feeds (list + (list "fever+https://coolneng@rss.coolneng.duckdns.org" + :api-url "https://rss.coolneng.duckdns.org/fever/" + :password (auth-source-pass-get 'secret "api/miniflux")))) + (setq elfeed-sort-order 'ascending + elfeed-search-filter "@all +unread") + (elfeed-protocol-enable) + (add-hook! 'elfeed-search-mode-hook 'elfeed-update)) diff --git a/init.el b/init.el index 811b349..7152fe2 100644 --- a/init.el +++ b/init.el @@ -190,7 +190,7 @@ ;;emms ;;everywhere ; *leave* Emacs!? You must be joking ;;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/packages.el b/packages.el index af69824..a28b4bf 100644 --- a/packages.el +++ b/packages.el @@ -8,3 +8,4 @@ (package! org-super-agenda) (package! org-chef) (package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css"))) +(package! elfeed-protocol)