aboutsummaryrefslogtreecommitdiff
path: root/newsboat/config
blob: 0d39ad534886fd4f26190c91b4769d30f3d40b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# vim: filetype=conf

auto-reload yes
reload-time 10
browser "firefox --new-tab %u"
confirm-mark-all-feeds-read no
confirm-mark-feed-read no
goto-first-unread no
goto-next-feed no
keep-articles-days 180
max-items 500
cleanup-on-quit yes

download-path "~/Downloads/!Podcasts"
download-filename-format "F-%t.%e"

bind-key j down feedlist
bind-key k up feedlist
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key j down article
bind-key k up article

macro o set browser "mpv %u" ; open-in-browser ; set browser "firefox --new-tab %u"

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

# highlights
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" color237 default default
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