diff options
Diffstat (limited to '')
-rw-r--r-- | .config/newsboat/config | 66 |
1 files changed, 31 insertions, 35 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config index a76c125..918080a 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -1,5 +1,7 @@ #how-read-feeds no -auto-reload no +auto-reload yes +refresh-on-startup yes +reload-time 60 confirm-mark-all-feeds-read yes confirm-mark-feed-read no reload-threads 100 @@ -7,7 +9,9 @@ text-width 80 show-keymap-hint no show-title-bar no swap-title-and-hints no -notify-program "/usr/bin/notify-send" +notify-program ~/.local/bin/newsboat-notif +notify-always yes +notify-format "%d" external-url-viewer "urlview" @@ -36,17 +40,13 @@ 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 =~ \"/short/\"" color background default default -color listnormal white default +color listnormal default default dim color listnormal_unread red default bold -color listfocus white black +color listfocus default black dim color listfocus_unread red black bold color info yellow black bold color article default default @@ -60,9 +60,9 @@ macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best"; open-in- macro v set browser "linkview"; open-in-browser ; set browser linkhandler macro w set browser "linkview"; open-in-browser ; set browser linkhandler -datetime-format "%D" -articlelist-format "%D %f %t" -feedlist-format "%?T? %n %9u %t [%T]&#%-7t----------------------------------------------------------?" +datetime-format "%y-%m-%d %H:%M" +articlelist-format "%D - %t" +feedlist-format "%?T?%n%9u %t [%T]&#%-8t----------------------------------------------------------?" highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold highlight article "(^Link:.*|^Date:.*)" default default @@ -75,25 +75,21 @@ highlight article ":.*\\(link\\)$" cyan default highlight article ":.*\\(image\\)$" blue default highlight article ":.*\\(embedded flash\\)$" magenta default - -highlight feedlist ".*(0/0))" black -highlight feedlist ".* \\[tech\\]$" white default -highlight feedlist ".* \\[yt\\]$" white default -highlight feedlist ".* \\[space\\]$" white default -highlight feedlist ".* \\[reddit\\]$" white default -highlight feedlist ".* \\[pods\\]$" white default -highlight feedlist "^ N.* \\[tech\\]$" cyan default bold -highlight feedlist "^ N.* \\[yt\\]$" red default bold -highlight feedlist "^ N.* \\[space\\]$" blue default bold -highlight feedlist "^ N.* \\[reddit\\]$" yellow default bold -highlight feedlist "^ N.* \\[pods\\]$" magenta default bold -highlight feedlist "^#tech .*" cyan default -highlight feedlist "^#yt .*" red default -highlight feedlist "^#space .*" blue default -highlight feedlist "^#reddit .*" yellow default -highlight feedlist "^#pods .*" magenta default -highlight feedlist "\\[tech\\]$" default default invis -highlight feedlist "\\[yt\\]$" default default invis -highlight feedlist "\\[space\\]$" default default invis -highlight feedlist "\\[reddit\\]$" default default invis -highlight feedlist "\\[pods\\]$" default default invis +highlight feedlist ".*(0/0))" black +highlight feedlist ".* \\[(news|tech|normies|gaming|space|skate|music)\\]$" default default dim +highlight feedlist "^N.* \\[news\\]$" blue default bold +highlight feedlist "^N.* \\[tech\\]$" cyan default bold +highlight feedlist "^N.* \\[normies\\]$" red 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\\]$" green default bold +highlight feedlist "^#news .*" blue default bold +highlight feedlist "^#tech .*" cyan default bold +highlight feedlist "^#normies .*" red default bold +highlight feedlist "^#gaming .*" yellow default bold +highlight feedlist "^#space .*" blue default bold +highlight feedlist "^#skate .*" magenta default bold +highlight feedlist "^#music .*" green default bold +highlight feedlist "^N" default default invis +highlight feedlist "\\[(news|tech|normies|gaming|space|skate|music)\\]$" default default invis |