summaryrefslogtreecommitdiffstats
path: root/.config/newsboat/config
blob: d422b6d2f40255946d08888de4abb0fc4bf995a2 (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
# general settings
auto-reload yes
max-items 100
reload-threads 3
text-width 120

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

# browsing
browser "/usr/bin/brave %u"
macro m set browser "/usr/bin/mpv %u"; open-in-browser ; set browser "/usr/bin/brave %u"
macro l set browser "/usr/bin/lynx %u"; open-in-browser ; set browser "/usr/bin/brave %u"
macro c set browser "xsel -b <<<" ; open-in-browser ; set browser "/usr/bin/brave %u"
macro x set browser "/home/yigit/bin/linkhandler"; open-in-browser ; set browser "/usr/bin/brave %u"

# unbind keys
unbind-key ENTER
unbind-key j
unbind-key k
unbind-key J
unbind-key K

# bind keys - vim style
bind-key j down
bind-key k up
bind-key l open
bind-key h quit

# solarized
color background         default   default
color listnormal         default   default
color listnormal_unread  default   default
color listfocus          black     cyan
color listfocus_unread   black     cyan
color info               default   black
color article            default   default

# highlights
highlight article "^(Title):.*$" blue default
highlight article "https?://[^ ]+" red default
highlight article "\\[image\\ [0-9]+\\]" green default