summaryrefslogtreecommitdiff
path: root/newsboat/.newsboat/config
blob: 35cb0c1451d7caf51bcf80aec31595773150ae6c (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
highlight  article      "^Title: .*$"   magenta   black bold
color      listnormal                   color8    black
color      listnormal_unread            color231  black bold
color      listfocus                    color125  black
color      listfocus_unread             color201  black bold
color      info                         color7    black
color      article                      color246  black
#highlight  feedlist     "^.* N .*$"     color15   default  bold
#highlight  articlelist  "^.* N .*$"     color15   default  bold
highlight  article      "^Feed: .*$"    color3    default
highlight  article      "^Author: .*$"  color5    default
highlight  article      "^Link: .*$"    blue      default
highlight  article      "^Date: .*$"    color4    default

confirm-exit no
browser "browser"
player "mpv"
show-read-articles no
show-read-feeds no
openbrowser-and-mark-jumps-to-next-unread yes
reload-threads  2
max-items 0
notify-xterm  yes
cleanup-on-quit yes
text-width 80
goto-next-feed no
goto-first-unread yes
auto-reload yes
cookie-cache "~/.newsboat/cookies.txt"
error-log "~/.newsboat/error.log"
datetime-format "%F %R"
notify-program "notify-send"
notify-format "RSS: %d new"
pager "less %f"
refresh-on-startup yes
swap-title-and-hints yes
text-width 80
html-renderer "w3m -dump -T text/html"

bind-key j down
bind-key k up
bind-key m toggle-show-read-feeds
bind-key a mark-feed-read
bind-key o open-in-browser-and-mark-read
bind-key G end
bind-key g home

macro m set browser "mpv --ytdl --ontop --no-border --force-window %u &> /dev/null &"; open-in-browser-and-mark-read ; set browser "browser"
macro f set browser "feh"; open-in-browser-and-mark-read ; set browser "browser"

include ~/.newsboat/freshrss.conf