diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-01 21:19:37 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-01 21:19:37 +0100 |
commit | cd03c93ebe9e0ae6c22d1044115b4b9668f97276 (patch) | |
tree | a4538babb87db2f8fa8e164fc8092ff62909d615 /newsboat/config | |
parent | ec6bf998364f50375bd748ab8c61fbc064226e7d (diff) |
newsboat and lynx
Diffstat (limited to '')
-rw-r--r-- | newsboat/config | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/newsboat/config b/newsboat/config new file mode 100644 index 0000000..766c7e3 --- /dev/null +++ b/newsboat/config @@ -0,0 +1,72 @@ +#browser "w3m %u" +auto-reload no + +# confirm-mark-feed-read no + +run-on-startup toggle-show-read-feeds + +bind-key j down +bind-key k up +bind-key j next articlelist +bind-key k prev articlelist +bind-key J next-feed articlelist +bind-key K prev-feed articlelist +bind-key G end +bind-key g home +bind-key d pagedown +bind-key u pageup +#bind-key l open +bind-key h quit +bind-key a toggle-article-read +bind-key n next-unread +bind-key N prev-unread +bind-key D pb-download +bind-key U show-urls +bind-key x pb-delete + +refresh-on-startup no +define-filter "Linux articles" "title =~ \"Linux\"" +color info color15 color6 +#macro y set browser "mpv %u"; open-in-browser ; set browser "elinks %u" +color listfocus color15 color0 +#color listfocus black green +# color listfocus_unread black green bold +#highlight-article "title =~ \"Productivity\"" white red bold +#highlight-article "title =~ \"Setup\"" yellow red bold +#highlight all "Linux" yellow red bold +notify-program "notify-send" +notify-screen yes +notify-xterm yes + +max-items 40 +download-path "~/Downloads" + +player mpv +browser /home/lemon/bin/lynx +macro m set browser "mpv %u" ; open-in-browser ; set browser "/home/lemon/dotfiles/lynx/lynx %u" +# +# press ,y to log the url - you can type a comment to prefix the URL in the log file but it doesn't prompt you... +# massive hack but it works +macro y set browser "get-newsboat-comment.sh %u" ; open-in-browser ; set browser "/home/lemon/dotfiles/lynx/lynx %u" + +# color light +#include /usr/local/share/doc/newsboat/contrib/colorschemes/light + +# # solarized +# color background default default +# color listnormal default default +# color listnormal_unread default default +# color listfocus black cyan +# color listfocus_unread black cyan +# color info default black +# color article default default + +#confirm-mark-all-feeds-read no +#confirm-mark-feed-read no + +show-read-articles no + +# highlights +highlight article "^(Title):.*$" blue default +highlight article "https?://[^ ]+" red default +highlight article "\\[image\\ [0-9]+\\]" green default |