summaryrefslogtreecommitdiff
path: root/.config/newsboat/config
blob: b9b136b9e9e56911a33b3b1cb3ff3de7cb51b247 (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
auto-reload "yes"
reload-time 360
text-width 80
#urls-source "ttrss"
#ttrss-flag-star "s"
#ttrss-flag-publish "p"
#ttrss-mode "multi"
#ttrss-login "admin"
#ttrss-password "hyperrealtranslinguis@34zaq"
#ttrss-url "https://rss.luxagraf.net/"
save-path ~/notes/saved-articles/

# vim-like navigation
bind-key j down
bind-key k up
bind-key g home
bind-key G end

#macro y set browser "mpv %u" ; open-in-browser ; set browser "browser %u"
#macro y set browser "tsp yt-dlp %u"; open-in-browser ; set browser "$BROWSER %u"

# copy url to download video using yt-dlp
macro y set browser "echo %u | xsel -ib"; open-in-browser ; set browser "$BROWSER %u"
macro o set browser "qutebrowser %u"; set browser open-in-browser
macro w set browser "open-in-pane %u"; open-in-browser ; set browser "$BROWSER %u"
macro s set browser "tmux split-window && tmux send-keys 'ranger ~/notes/saved_articles && tmux kill-pane\n'" ; open-in-browser ; set browser "$BROWSER %u"
confirm-mark-all-feeds-read no
confirm-mark-feed-read no
download-full-page yes 
confirm-exit yes
#browser "~/bin/open-in-pane"
#browser ~/bin/newsboat-browser.sh
#browser "$BROWSER"
#browser "xvivaldi-stable & >> /dev/null "
browser "qutebrowser"
bind-key v open-in-browser-and-mark-read 
#bind-key o open-in-browser-and-mark-read 
bind-key S save
reload-threads 4

articlelist-format "%4i %f %D  %?T?|%-17T| ?%t"

#Solarized colors
color background   default   default
color listnormal   default   default
color listfocus    black     yellow
color info         default   black
color article      default   default

highlight feedlist "^.* N .*$" cyan default
highlight articlelist  "^.* N .*$" black yellow
# highlights
highlight article "^(Title):.*$" yellow default
highlight article "https?://[^ ]+" blue default
highlight article "\\[image\\ [0-9]+\\]" green default