dotfiles/newsboat/.newsboat/config

54 lines
2.2 KiB
Plaintext

bind-key G end
bind-key g home
bind-key j down
bind-key k up
browser "w3m %u"
# Color key https://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
# color22 green
# color199 magenta
# color255 light grey
# color listfocus color255 color199
# color listfocus_unread color255 color199 bold
# color info color255 color22
color title color255 color22 bold
color hint-key color255 color22 bold
color hint-separator color255 color22 bold
# Dark theme based on Dracula color scheme for newsboat.
#
# In order to use this color scheme, you must first configure
# your terminal emulator to use the Dracula palette.
# See <https://draculatheme.com/> for more information.
color background default default
color listnormal color255 default
color listfocus color238 color255 standout
color listnormal_unread color47 default
color listfocus_unread color238 color47 standout
color info color141 color236
confirm-exit yes
define-filter "nitter feeds" "tags !# \"nitter_personal\" and tags !# \"nitter_institutional\" and tags !# \"nitter_noise\""
feed-sort-order firsttag
# Dracula highlights
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:|^Title:|^Date:|^Link:|^Author:)" cyan default bold
highlight article "https?://[^ ]+" yellow 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
keep-articles-days 45
macro p set browser "mpv --player-operation-mode=pseudo-gui -- %u &"; one; set browser w3m
max-items 4096
notify-program "/usr/bin/notify-send"
urls-source "freshrss"
freshrss-url "https://rss.theadamcooper.com/api/greader.php"
freshrss-login "adam"
freshrss-passwordeval "secret-tool lookup service freshrss"