aboutsummaryrefslogtreecommitdiff
path: root/.config/newsboat/config
blob: 66c040006198a34d5e62cc906d6f53b120865fd8 (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
#show-read-feeds no
auto-reload yes
notify-program notify-send
notify-always yes

external-url-viewer "urlscan -dc -r 'linkhandler {}'"

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 D pb-download
bind-key U show-urls
bind-key x pb-delete

color article                              color223 default
color background                           color100 default
color info                                 color142 default
color listfocus                            color214 default
color listfocus_unread                     color214 default
color listnormal                           color246 default
color listnormal_unread                    color175 default
highlight article "^Feed:.*"               color175 default
highlight article "^Title:.*"              color214 default bold
highlight article "^Author:.*"             color167 default
highlight article "^Link:.*"               color109 default
highlight article "^Date:.*"               color142 default
highlight article "\\[[0-9]\\+\\]"         color208 default bold
highlight article "\\[[^0-9].*[0-9]\\+\\]" color167 default bold

browser linkhandler
macro , open-in-browser
macro t set browser "qndl" ; open-in-browser ; set browser linkhandler
macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestaudio/best --restrict-filenames" ; open-in-browser ; set browser linkhandler
macro v set browser "setsid -f mpv" ; open-in-browser ; set browser linkhandler
macro w set browser "lynx" ; open-in-browser ; set browser linkhandler
macro d set browser "dmenuhandler" ; open-in-browser ; set browser linkhandler
macro c set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser linkhandler
macro C set browser "youtube-viewer --comments=%u" ; open-in-browser ; set browser linkhandler
macro p set browser "peertubetorrent %u 480" ; open-in-browser ; set browser linkhandler
macro P set browser "peertubetorrent %u 1080" ; open-in-browser ; set browser linkhandler