summaryrefslogtreecommitdiffstats
path: root/.config/newsboat/config
blob: a76c12546150231261fef8443529e3d6b5b3a0bb (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#how-read-feeds no
auto-reload no
confirm-mark-all-feeds-read yes
confirm-mark-feed-read no
reload-threads 100
text-width 80
show-keymap-hint no
show-title-bar no
swap-title-and-hints no
notify-program "/usr/bin/notify-send"

external-url-viewer "urlview"

bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key l open
bind-key h quit
bind-key a toggle-article-read
bind-key n next-unread
bind-key N prev-unread
bind-key } next-unread
bind-key { prev-unread
bind-key ] next-unread
bind-key [ prev-unread
bind-key D pb-download
bind-key U show-urls
bind-key v show-urls
bind-key x pb-delete
bind-key ^t next-unread

# color listnormal white default
# color listfocus black white standout
# color listnormal_unread red default bold
# color listfocus_unread red black bold
# color info yellow black bold
# color article default default

color background        default default
color listnormal        white   default
color listnormal_unread red     default bold
color listfocus         white   black
color listfocus_unread  red     black   bold
color info              yellow  black   bold
color article           default default

search-highlight-colors yellow  black   bold

browser "linkview %u %T"
macro , open-in-browser
macro t set browser "youtube-dl --add-metadata -ic"; open-in-browser ; set browser linkhandler
macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser linkhandler
macro v set browser "linkview"; open-in-browser ; set browser linkhandler
macro w set browser "linkview"; open-in-browser ; set browser linkhandler

datetime-format    "%D"
articlelist-format "%D %f %t"
feedlist-format    "%?T? %n %9u %t [%T]&#%-7t----------------------------------------------------------?"

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


highlight feedlist ".*(0/0))"            black
highlight feedlist ".* \\[tech\\]$"      white   default
highlight feedlist ".* \\[yt\\]$"        white   default
highlight feedlist ".* \\[space\\]$"     white   default
highlight feedlist ".* \\[reddit\\]$"    white   default
highlight feedlist ".* \\[pods\\]$"      white   default
highlight feedlist "^ N.* \\[tech\\]$"   cyan    default bold
highlight feedlist "^ N.* \\[yt\\]$"     red     default bold
highlight feedlist "^ N.* \\[space\\]$"  blue    default bold
highlight feedlist "^ N.* \\[reddit\\]$" yellow  default bold
highlight feedlist "^ N.* \\[pods\\]$"   magenta default bold
highlight feedlist "^#tech .*"        cyan    default
highlight feedlist "^#yt .*"          red     default
highlight feedlist "^#space .*"       blue    default
highlight feedlist "^#reddit .*"      yellow  default
highlight feedlist "^#pods .*"        magenta default
highlight feedlist "\\[tech\\]$"      default default invis
highlight feedlist "\\[yt\\]$"        default default invis
highlight feedlist "\\[space\\]$"     default default invis
highlight feedlist "\\[reddit\\]$"    default default invis
highlight feedlist "\\[pods\\]$"      default default invis