dotfiles/.config/newsboat/config

58 lines
2.2 KiB
Plaintext
Raw Normal View History

2020-07-04 14:23:27 +02:00
#show-read-feeds no
auto-reload yes
2022-04-13 15:33:21 +02:00
external-url-viewer "urlscan -dc -r 'linkhandler {}'"
2020-07-04 14:23:27 +02:00
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
2023-10-12 15:12:12 +02:00
bind-key D pb-download
2020-07-04 14:23:27 +02:00
bind-key U show-urls
bind-key x pb-delete
color listnormal cyan default
2023-10-12 15:12:12 +02:00
color listfocus black yellow standout bold
2020-07-04 14:23:27 +02:00
color listnormal_unread blue default
2023-10-12 15:12:12 +02:00
color listfocus_unread yellow default bold
2022-04-13 15:33:21 +02:00
color info red black bold
color article white default bold
2020-07-04 14:23:27 +02:00
browser linkhandler
macro , open-in-browser
2020-07-17 15:05:59 +02:00
macro t set browser "qndl" ; open-in-browser ; set browser linkhandler
2023-10-12 15:12:12 +02:00
macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestaudio/best" ; open-in-browser ; set browser linkhandler
2020-07-17 15:05:59 +02:00
macro v set browser "setsid -f mpv" ; open-in-browser ; set browser linkhandler
macro w set browser "lynx" ; open-in-browser ; set browser linkhandler
2022-04-13 15:33:21 +02:00
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
2020-07-17 15:05:59 +02:00
2022-05-11 00:20:06 +02:00
notify-program "newsboatnotifs"
2023-10-12 15:12:12 +02:00
highlight all "---.*---" yellow
2022-04-13 15:33:21 +02:00
highlight all ".*---.*---.*" red default bold
2020-07-17 15:05:59 +02:00
highlight feedlist ".*(0/0))" black
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