From 332a50286c4d79e175e2270d0db183f3afbb9319 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Sun, 12 Feb 2023 10:19:08 -0800 Subject: emacs: add elfeed cfg --- .emacs | 3 +++ .emacs.local.d/config/rul-config-elfeed.el | 2 ++ .emacs.local.d/modes/rul-elfeed.el | 7 +++++++ 3 files changed, 12 insertions(+) create mode 100644 .emacs.local.d/config/rul-config-elfeed.el create mode 100644 .emacs.local.d/modes/rul-elfeed.el diff --git a/.emacs b/.emacs index 6336ee1..b9f70e0 100644 --- a/.emacs +++ b/.emacs @@ -1,3 +1,5 @@ +(add-to-list 'load-path "~/.emacs.local.d/config/") + ;; Load up the general config (load-file "~/.emacs.local.d/config.el") (load-file "~/.emacs.local.d/general.el") @@ -9,6 +11,7 @@ ;; Modes (load-file "~/.emacs.local.d/modes/auto-fill.el") (load-file "~/.emacs.local.d/modes/doom-modeline.el") +(load-file "~/.emacs.local.d/modes/rul-elfeed.el") (load-file "~/.emacs.local.d/modes/flycheck.el") (load-file "~/.emacs.local.d/modes/flyspell.el") (load-file "~/.emacs.local.d/modes/go-lang.el") diff --git a/.emacs.local.d/config/rul-config-elfeed.el b/.emacs.local.d/config/rul-config-elfeed.el new file mode 100644 index 0000000..2042a00 --- /dev/null +++ b/.emacs.local.d/config/rul-config-elfeed.el @@ -0,0 +1,2 @@ +(setq rul-elfeed-feeds '("https://planet.debian.org/rss10.xml")) +(provide 'rul-config-elfeed) diff --git a/.emacs.local.d/modes/rul-elfeed.el b/.emacs.local.d/modes/rul-elfeed.el new file mode 100644 index 0000000..b59bc9b --- /dev/null +++ b/.emacs.local.d/modes/rul-elfeed.el @@ -0,0 +1,7 @@ +(use-package elfeed + :ensure f + :config + (require 'rul-config-elfeed) + (setq elfeed-feeds rul-elfeed-feeds)) + +(provide 'rul-elfeed) -- cgit v1.2.3