summaryrefslogtreecommitdiff
path: root/.config/newsboat/config
blob: 09677e8fa70dfe7cbc1322bd93c183d21c5d68af (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
47
#show-read-feeds no
auto-reload yes
reload-threads 20
max-items 10
text-width 74
prepopulate-query-feeds yes

bind-key LEFT quit
bind-key RIGHT open
bind-key DOWN down
bind-key UP up

bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key a toggle-article-read
bind-key U show-urls
bind-key s sort
bind-key S rev-sort

color background         default default
color listnormal         black   default
color listfocus          green   default reverse
color listfocus_unread   green   default reverse bold
color title              cyan    default reverse
color article            default default
color info               yellow  default
color end-of-text-marker color8  default

browser "setsid xdg-open %u >/dev/null 2>&1 &"
macro , open-in-browser
macro v set browser "setsid mpv %u >/dev/null 2>&1 &" ; open-in-browser ; set browser "setsid xdg-open %u >/dev/null 2>&1 &"
macro c set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser "setsid xdg-open %u >/dev/null 2>&1 &"

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