This commit is contained in:
Talking Ashtray 2022-10-27 15:16:24 +03:00
parent 3459133dc2
commit b2f271932f
2 changed files with 25 additions and 47 deletions

View File

@ -1,26 +1,7 @@
#show-read-feeds no
auto-reload yes
#pager "bat %f"
confirm-exit yes
confirm-mark-feed-read no
auto-reload yes
suppress-first-reload yes
refresh-on-startup no
reload-time 60
reload-threads 4
download-timeout 3
cleanup-on-quit no
datetime-format "%Y.%m.%d"
download-full-page yes
download-retries 2
history-limit 0
#notify-always no
#notify-beep no
#notify-program "/usr/bin/notify-send"
#notify-format "newsboat\n\n%d new article(s)" # (%n unread article(s), %f unread feeds)"
external-url-viewer "urlscan -dc -r 'linkhandler {}'"
bind-key j down
bind-key k up
@ -30,9 +11,8 @@ 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 d pagedown
bind-key u pageup
bind-key l open
bind-key h quit
bind-key a toggle-article-read
@ -42,36 +22,34 @@ bind-key D pb-download
bind-key U show-urls
bind-key x pb-delete
#color background white black
#color listnormal white black
#color listfocus black green standout
#color listnormal_unread magenta black
#color listfocus_unread black green standout bold
#color info green black bold
#color article white default
color listnormal white default
color listnormal_unread white default bold
color listfocus black green
color listfocus_unread green black standout
color info green default bold
color listnormal cyan default
color listfocus black yellow standout bold
color listnormal_unread blue default
color listfocus_unread yellow default bold
color info red black bold
color article white default bold
#browser "librewolf --new-tab %u"
browser linkhandler
#browser dmenu_linkhandler2
#browser brave
macro , open-in-browser
macro t set browser "qndl" ; open-in-browser ; set browser linkhandler
macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestaudio/best --restrict-filenames" ; 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 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 "---.*---" white
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" red black bold
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" default default
highlight article "https?://[^ ]+" green default
highlight article "^(Title):.*$" green default bold
highlight article "\\[[0-9][0-9]*\\]" red default bold
highlight article "\\[image\\ [0-9]+\\]" red default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" red default bold
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