[emacs] Switch elfeed to use tt-rss

This commit is contained in:
Colin Powell
2020-04-20 12:55:14 -04:00
parent b85bc46c91
commit 2e3a534ac9
3 changed files with 9 additions and 10 deletions

View File

@ -142,22 +142,21 @@ Right now, just make sure I can connect to my local Mopidy server via MPDel.
* RSS (elfeed)
** Basic configuration
#+BEGIN_SRC emacs-lisp
(add-hook! 'elfeed-show-mode-hook (text-scale-set 1.5))
(setq elfeed-use-curl t)
(setq elfeed-protocol-ttrss-maxsize 200) ;; bigger than 200 is invalid
(setq elfeed-feeds '("ttrss+https://powellc@reader.unbl.ink"
:use-authinfo t))
;(setq rmh-elfeed-org-files (list "~/org/elfeed.org"))
(setq rmh-elfeed-org-files (list "~/org/elfeed.org"))
(elfeed-protocol-enable)
(setq elfeed-search-filter "@2-days-ago +unread")
(defun elfeed-search-format-date (date)
(format-time-string "%Y-%m-%d %H:%M" (seconds-to-time date)))
; crontab-like elfeed updating
(run-with-timer 0 (* 30 60) 'elfeed-update)
; Serif font in Elfeed
(add-hook 'elfeed-mode-hook 'variable-pitch-mode)
(setq httpd-host "0.0.0.0")
(setq httpd-port 10000)
(add-hook! 'elfeed-mode-hook 'variable-pitch-mode)
(add-hook! 'elfeed-show-mode-hook (text-scale-set 1.2))
#+END_SRC
** Key bindings
#+BEGIN_SRC emacs-lisp

View File

@ -57,7 +57,7 @@
(package! ivy-mpdel)
(package! org-caldav)
(package! elfeed-goodies)
(package! elfeed-web)
(package! elfeed-protocol)
(package! deadgrep)
(package! mastodon)
(package! magit-circleci)

Binary file not shown.