commit 33c7a6eb3116982f14a36c39d417c81ea66a017d parent 648aa269495807fe59f4900199d67ce33841ef0b Author: MichaĆ M. Sapka <michal@sapka.me> Date: Mon, 12 Dec 2022 23:53:20 +0100 feat(newsboat): colors Diffstat:
M | newsboat/.newsboat/.gitignore | | | 1 | + |
M | newsboat/.newsboat/config | | | 31 | +++++++++++++++++++++++++++++++ |
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/newsboat/.newsboat/.gitignore b/newsboat/.newsboat/.gitignore @@ -1,3 +1,4 @@ cache.db cache.db.lock history.search +history.cmdline diff --git a/newsboat/.newsboat/config b/newsboat/.newsboat/config @@ -23,3 +23,34 @@ bind-key N prev-unread bind-key D pb-download bind-key U show-urls bind-key x pb-delete + +show-read-feeds yes +#feed-sort-order unreadarticlecount-asc + + +text-width 80 +articlelist-format "%4i %f %D %?T?|%-17T| ?%t" + +color info default default reverse +color listnormal_unread white default +color listfocus yellow default reverse bold +color listfocus_unread red default reverse bold +color article white default +color listnormal white default + + +highlight feedlist "^ *[0-9]+ *N " white magenta +highlight articlelist "^ *[0-9]+ *N " white magenta + +highlight article "(^Feed:.*|^Title:.*|^Author:.*)" red default +highlight article "(^Link:.*|^Date:.*)" white default +highlight article "^Podcast Download URL:.*" red default +highlight article "^Links:" white black underline +highlight article "https?://[^ ]+" white default +highlight article "^(Title):.*$" blue default +highlight article "\\[[0-9][0-9]*\\]" red default bold +highlight article "\\[image\\ [0-9]+\\]" white default bold +highlight article "\\[embedded flash: [0-9][0-9]*\\]" white default bold +highlight article ":.*\\(link\\)$" cyan default +highlight article ":.*\\(image\\)$" blue default +highlight article ":.*\\(embedded flash\\)$" red default