summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--rss.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/bd--rss.el')
-rw-r--r--.config/emacs/modules/bd--rss.el35
1 files changed, 18 insertions, 17 deletions
diff --git a/.config/emacs/modules/bd--rss.el b/.config/emacs/modules/bd--rss.el
index eda6063..0c9009f 100644
--- a/.config/emacs/modules/bd--rss.el
+++ b/.config/emacs/modules/bd--rss.el
@@ -3,23 +3,24 @@
;;; Code:
-(keymap-global-set "C-z C-n" 'newsticker-show-news)
-
-(setopt newsticker-url-list-defaults nil
- newsticker-retrieval-interval (* 60 60 24)
- newsticker-automatically-mark-items-as-old nil
- newsticker-url-list '(("James Enge Mastodon" "https://mastodon.sdf.org/@jamesenge.rss" nil nil nil)
- ("operationnull blog" "https://operationnull.com/atom.xml" nil nil nil)
- ("Parabola GNU/Linux-libre" "https://www.parabola.nu/feeds/news/" nil nil nil)
- ("suckless.org news" "https://suckless.org/atom.xml" nil nil nil)
- ("Mental Outlaw" "https://vid.puffyan.us/feed/channel/UC7YOGHUfC1Tb6E4pudI9STA" nil nil nil)
- ("Luke Smith" "https://vid.puffyan.us/feed/channel/UC2eYFnH61tmytImy1mTYvhA" nil nil nil)
- ("Protesilaos Stravrou" "https://vid.puffyan.us/feed/channel/UC0uTPqBCFIpZxlz_Lv1tk_g" nil nil nil))
- ;; may require ./newsticker/groups to be cleared
- newsticker-groups '("Feeds"
- ("READING" "James Enge Mastodon")
- ("TECH" "Parabola GNU/Linux-libre" "suckless.org news" "operationnull blog")
- ("VIDEO" "Mental Outlaw" "Luke Smith" "Protesilaos Stravrou")))
+(use-package newst-reader
+ :bind (("C-z C-n" . newsticker-show-news))
+ :custom
+ (newsticker-url-list-defaults nil)
+ ;; one day
+ (newsticker-retrieval-interval (* 60 60 24))
+ (newsticker-automatically-mark-items-as-old nil)
+ (newsticker-url-list '(("James Enge Mastodon" "https://mastodon.sdf.org/@jamesenge.rss" nil nil nil)
+ ("operationnull blog" "https://operationnull.com/atom.xml" nil nil nil)
+ ("Parabola GNU/Linux-libre" "https://www.parabola.nu/feeds/news/" nil nil nil)
+ ("suckless.org news" "https://suckless.org/atom.xml" nil nil nil)
+ ("Mental Outlaw" "https://vid.puffyan.us/feed/channel/UC7YOGHUfC1Tb6E4pudI9STA" nil nil nil)
+ ("Luke Smith" "https://vid.puffyan.us/feed/channel/UC2eYFnH61tmytImy1mTYvhA" nil nil nil)
+ ("Protesilaos Stravrou" "https://vid.puffyan.us/feed/channel/UC0uTPqBCFIpZxlz_Lv1tk_g" nil nil nil)))
+ (newsticker-groups '("Feeds"
+ ("READING" "James Enge Mastodon")
+ ("TECH" "Parabola GNU/Linux-libre" "suckless.org news" "operationnull blog")
+ ("VIDEO" "Mental Outlaw" "Luke Smith" "Protesilaos Stravrou"))))
(provide 'bd--rss)