dotfiles/newsboat/.newsboat/config

53 lines
2.1 KiB
Text
Raw Normal View History

2022-08-24 08:07:33 +00:00
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
2022-08-24 08:07:33 +00:00
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
2022-08-24 08:07:33 +00:00
confirm-exit yes
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
2022-08-24 08:07:33 +00:00
keep-articles-days 45
macro p set browser "mpv --player-operation-mode=pseudo-gui -- %u &"; one; set browser w3m -- "Play media file in mpv"
2022-08-24 08:07:33 +00:00
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"