dotfiles/.newsboat/config
2022-09-19 06:47:50 +02:00

47 lines
1.4 KiB
Plaintext

auto-reload yes
reload-time 5
reload-threads 10
browser urlopen
notify-program nb-notifier
show-read-feeds no
# unbind keys
unbind-key ENTER
unbind-key J
unbind-key K
# bind keys - vim style
bind-key j down
bind-key k up
bind-key l open
bind-key h quit
bind-key G end
bind-key g home
bind-key r toggle-show-read-feeds
macro m set browser "setsid -f umpv" ; open-in-browser ; set browser w3m
macro f set browser "firefox" ; open-in-browser ; set browser w3m
# colors
color background default default
color listnormal default default
color listnormal_unread default default bold
color listfocus default yellow
color listfocus_unread default yellow bold
color info default default
color article default default
# highlights
highlight all "---.*---" white magenta
highlight feedlist ".*(0/0))" white
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