newsboat config

This commit is contained in:
Alexander Bocken 2022-04-13 15:33:21 +02:00
parent 9ca2223cf1
commit fe8594f819
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -1,11 +1,7 @@
#show-read-feeds no
auto-reload yes
reload-threads 100
external-url-viewer "newsboat_urlscan {}"
notify-program "/home/alex/.local/bin/newsboatnotifs"
notify-format "%d new articles (%n unread articles, %f unread feeds)"
external-url-viewer "urlscan -dc -r 'linkhandler {}'"
bind-key j down
bind-key k up
@ -22,16 +18,16 @@ 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
bind-key D delete-article
color listnormal cyan default
color listfocus black white standout bold
color listfocus white black bold
color listnormal_unread blue default
color listfocus_unread white black bold
color info white black
color article white default
color info red black bold
color article white default bold
browser linkhandler
macro , open-in-browser
@ -39,10 +35,13 @@ macro t set browser "qndl" ; open-in-browser ; set browser linkhandler
macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best" ; 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 p set browser "dmenuhandler" ; open-in-browser ; set browser linkhandler
macro c set browser "xsel -b <<<" ; 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
highlight all " ---.*---.*" magenta default
highlight all ".*---.*---.*" red default bold
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" default default