summaryrefslogtreecommitdiffstats
path: root/.config/newsboat
diff options
context:
space:
mode:
Diffstat (limited to '.config/newsboat')
-rw-r--r--.config/newsboat/config63
1 files changed, 51 insertions, 12 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
index 1a043b7..8b2d113 100644
--- a/.config/newsboat/config
+++ b/.config/newsboat/config
@@ -1,8 +1,18 @@
-#how-read-feeds no
-auto-reload no
+auto-reload yes
+refresh-on-startup yes
+reload-time 30
confirm-mark-all-feeds-read yes
confirm-mark-feed-read no
-reload-threads 4
+reload-threads 100
+text-width 80
+show-keymap-hint no
+show-title-bar yes
+swap-title-and-hints yes
+history-limit 0
+ignore-mode download
+notify-program ~/.local/bin/newsboat-notif
+notify-always yes
+notify-format "%d"
external-url-viewer "urlview"
@@ -31,22 +41,32 @@ bind-key v show-urls
bind-key x pb-delete
bind-key ^t next-unread
-color listnormal white default
-color listfocus black white standout
-color listnormal_unread red default bold
-color listfocus_unread red black bold
-color info yellow black bold
-color article default default
+ignore-article "*" "title =~ \"#shorts$\""
+ignore-article "*" "link =~ \"youtube.com/shorts/\""
-browser "linkview %u >/dev/null 2>&1 &"
+color background default default
+color listnormal white default
+color listnormal_unread default default bold
+color listfocus default black
+color listfocus_unread default black bold
+color info yellow black bold
+color article default default
+
+search-highlight-colors yellow black bold
+
+browser "linkview %u %T"
macro , open-in-browser
macro t set browser "youtube-dl --add-metadata -ic"; open-in-browser ; set browser linkhandler
macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser linkhandler
macro v set browser "linkview"; open-in-browser ; set browser linkhandler
macro w set browser "linkview"; open-in-browser ; set browser linkhandler
-highlight all "---.*---" yellow
-highlight feedlist ".*(0/0))" black
+feedlist-title-format "feeds (%u/%t)%?T? - tag '%T'&?"
+articlelist-title-format "'%T' (%u/%t)"
+datetime-format "%y-%m-%d %H:%M"
+articlelist-format "%D - %t"
+feedlist-format "%?T?%n%8u %t [%T]&#%-8t----------------------------------------------------------?"
+
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" default default
highlight article "https?://[^ ]+" green default
@@ -57,3 +77,22 @@ 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
+
+highlight feedlist ".*(0/0))" black
+highlight feedlist ".* \\[(news|tech|normies|gaming|space|skate|music)\\]$" white default
+highlight feedlist "^N.* \\[tech\\]$" cyan default bold
+highlight feedlist "^N.* \\[normies\\]$" red default bold
+highlight feedlist "^N.* \\[news\\]$" green default bold
+highlight feedlist "^N.* \\[gaming\\]$" yellow default bold
+highlight feedlist "^N.* \\[space\\]$" blue default bold
+highlight feedlist "^N.* \\[skate\\]$" magenta default bold
+highlight feedlist "^N.* \\[music\\]$" white default bold
+highlight feedlist "^#tech .*" cyan default bold
+highlight feedlist "^#normies .*" red default bold
+highlight feedlist "^#news .*" green default bold
+highlight feedlist "^#gaming .*" yellow default bold
+highlight feedlist "^#space .*" blue default bold
+highlight feedlist "^#skate .*" magenta default bold
+highlight feedlist "^#music .*" white default bold
+highlight feedlist "^N" default default invis
+highlight feedlist "\\[(news|tech|normies|gaming|space|skate|music)\\]$" default default invis