From d17caa2bdfb3877263c7aa36936f8a10f5ab86b2 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 2 Sep 2021 17:18:52 +0200 Subject: [PATCH] Add newsboat config files --- home/.config/newsboat/config | 42 ++++++++++++++++++++++++++++++++++++ home/.config/newsboat/urls | 2 ++ 2 files changed, 44 insertions(+) create mode 100644 home/.config/newsboat/config create mode 100644 home/.config/newsboat/urls diff --git a/home/.config/newsboat/config b/home/.config/newsboat/config new file mode 100644 index 0000000..5a75f23 --- /dev/null +++ b/home/.config/newsboat/config @@ -0,0 +1,42 @@ +unbind-key j +unbind-key k +unbind-key h +unbind-key H +unbind-key L +unbind-key c +unbind-key , + +# Feed settings +prepopulate-query-feeds yes +refresh-on-startup yes + +# bind keys +bind-key ; macro-prefix +bind-key BACKSPACE quit +bind-key h quit +bind-key j down +bind-key k up +bind-key l open +bind-key H prev-feed +bind-key L next-feed +bind-key c toggle-show-read-feeds + +color background default default +color listnormal default default +color listnormal_unread default default +color listfocus color16 cyan +color listfocus_unread color16 cyan +color info default black +color article default default + +highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold +highlight article "(^Link:.*|^Date:.*)" default default +highlight article "https?://[^ ]+" green default + +highlight article "^(Title):.*$" blue default +highlight article "\\[[0-9][0-9]*\\]" magenta default bold +highlight article "\\[image\\ [0-9]+\\]" green default bold +highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold +highlight article ":.*\\(link\\)$" cyan default +highlight article ":.*\\(image\\)$" blue default +highlight article ":.*\\(embedded flash\\)$" magenta default diff --git a/home/.config/newsboat/urls b/home/.config/newsboat/urls new file mode 100644 index 0000000..94349e0 --- /dev/null +++ b/home/.config/newsboat/urls @@ -0,0 +1,2 @@ +https://itsdrike.com/posts/index.xml +https://archlinux.org/feeds/news