aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2023-02-12 10:19:08 -0800
committerRaul Benencia <id@rbenencia.name>2023-02-12 10:19:58 -0800
commit332a50286c4d79e175e2270d0db183f3afbb9319 (patch)
treeb5d1d5027cd7ac381aa780edc1d9dea89b5e23d7
parenta36203c0d8d32a1ddf3009cce6c04e0c6f26477e (diff)
emacs: add elfeed cfg
-rw-r--r--.emacs3
-rw-r--r--.emacs.local.d/config/rul-config-elfeed.el2
-rw-r--r--.emacs.local.d/modes/rul-elfeed.el7
3 files changed, 12 insertions, 0 deletions
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)
nihil fit ex nihilo