diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-08-27 17:23:37 +0100 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-08-27 17:23:37 +0100 |
commit | 38c273a5d9a5f83ece316299654fe15b73520f70 (patch) | |
tree | c8de503eaef75305eefcb0b7e17bae346c2e52c4 | |
parent | aa65faa0605e299684b84e4902d79c75ee48c1c3 (diff) | |
download | dotfiles-38c273a5d9a5f83ece316299654fe15b73520f70.tar.gz dotfiles-38c273a5d9a5f83ece316299654fe15b73520f70.tar.bz2 dotfiles-38c273a5d9a5f83ece316299654fe15b73520f70.zip |
+config for elfeed
elfeed-org doesn't seem to work the way I want it to. So instead, added
my own compilation steps and functions. Compile org to opml, then load
opml in elfeed
-rw-r--r-- | doom.d/config.org | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index e0d0b28..f847370 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -92,6 +92,25 @@ Really simple, just want to set projectile-tags-command when projectile has load (setq wakatime-api-key (shell-command-to-string "pass Keys/Wakatime")) #+END_SRC Using new password holder (pass) to help with secure transactions. +*** Elfeed +#+BEGIN_SRC emacs-lisp +(after! elfeed + (defun oreodave/elfeed/load-feeds () + (interactive) + (setq elfeed-feeds nil) + (elfeed-load-opml (concat org-directory "/elfeed.opml"))) + + (defun oreodave/elfeed/on-new-feed () + (interactive) + (elfeed-org-export-opml) + (write-file (concat org-directory "/elfeed.opml")) + (kill-current-buffer) + ) + + (add-hook 'elfeed-org-new-entry-hook 'oreodave/elfeed/on-new-feed) + ;; (oreodave/elfeed/load-feeds) + ) +#+END_SRC *** Dash #+BEGIN_SRC emacs-lisp (setq dash-docs-docsets-path "~/.docsets") |