From 773480da646fe78d80e96c46b7c824c97cfe901a Mon Sep 17 00:00:00 2001 From: earnest ma Date: Thu, 10 Mar 2022 16:08:57 -0500 Subject: [PATCH] elfeed and elfeed-protocol --- doom/.config/doom/+elfeed.el | 20 ++++++++++++++++++++ doom/.config/doom/config.el | 1 + doom/.config/doom/packages.el | 4 ++++ 3 files changed, 25 insertions(+) create mode 100644 doom/.config/doom/+elfeed.el diff --git a/doom/.config/doom/+elfeed.el b/doom/.config/doom/+elfeed.el new file mode 100644 index 0000000..7ca7c3a --- /dev/null +++ b/doom/.config/doom/+elfeed.el @@ -0,0 +1,20 @@ +;;; ../../.dotfiles/doom/.config/doom/+elfeed.el -*- lexical-binding: t; -*- +;;; Thanks https://github.com/alrayyes/dotfiles/blob/master/emacs/.config/doom/config.org#elfeed + +(use-package! elfeed + :defer t + :config + (setq elfeed-use-curl t) + (elfeed-set-timeout 36000) + (setq elfeed-protocol-ttrss-maxsize 200) ; bigger than 200 is invalid + (elfeed-protocol-enable) + (setq elfeed-feeds (list + (list "ttrss+https://earne@rss.tildeverse.org" + :password (shell-command-to-string "echo -n `pash show rss`")))) + + (add-hook! 'elfeed-search-mode-hook 'elfeed-update)) + +(use-package! elfeed-goodies + :after elfeed + :config + (elfeed-goodies/setup)) diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el index 2de774f..e2f7c6e 100644 --- a/doom/.config/doom/config.el +++ b/doom/.config/doom/config.el @@ -59,3 +59,4 @@ ;; load (load! "+projects") (load! "+smudge") +(load! "+elfeed") diff --git a/doom/.config/doom/packages.el b/doom/.config/doom/packages.el index 5f5b959..5149527 100644 --- a/doom/.config/doom/packages.el +++ b/doom/.config/doom/packages.el @@ -51,3 +51,7 @@ (package! ghq :pin "582bd6daa505d04c7cc06d6c82ed8aee0624bfbe") (package! smudge :pin "9e3488f485b7d7f3c97ebaad34ed552bb0cc228a") (package! wakatime-mode :pin "0f94ac2dd4fa125fc5f152700779edce75a6b03b") + +(package! elfeed :pin "162d7d545ed41c27967d108c04aa31f5a61c8e16") +(package! elfeed-protocol :pin "d2e22f5506bc75dbf4ca42ac87257fd1b259dd66") +(package! elfeed-goodies :pin "6711de66c22360f80fcfd9730293e5f3d419f787")