summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-09-24 15:29:26 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-09-24 22:03:48 +0200
commitdab0ecc792e4c76a8a3c977be1da2429ac378fa8 (patch)
treeefce461903823a3044faa695c48d5d05cb2dc14a /.config
parent84a015dbc3f0b703789c4228366327bf5a890ee2 (diff)
newsboat: added config
Diffstat (limited to '.config')
-rw-r--r--.config/newsboat/config43
1 files changed, 43 insertions, 0 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
new file mode 100644
index 0000000..d0184f5
--- /dev/null
+++ b/.config/newsboat/config
@@ -0,0 +1,43 @@
+#show-read-feeds no
+auto-reload yes
+reload-threads 4
+max-items 50
+prepopulate-query-feeds yes
+
+bind-key LEFT quit
+bind-key RIGHT open
+bind-key DOWN down
+bind-key UP up
+
+bind-key G end
+bind-key g home
+bind-key d pagedown
+bind-key u pageup
+bind-key a toggle-article-read
+bind-key U show-urls
+bind-key s sort
+bind-key S rev-sort
+
+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
+
+browser "setsid xdg-open %u >/dev/null 2>&1 &"
+macro , open-in-browser
+macro v set browser "setsid mpv %u >/dev/null 2>&1 &" ; open-in-browser ; set browser "setsid xdg-open %u >/dev/null 2>&1 &"
+macro c set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser "setsid xdg-open %u >/dev/null 2>&1 &"
+
+highlight all "---.*---" yellow
+highlight feedlist ".*(0/0))" black
+highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
+highlight article "(^Link:.*|^Date:.*)" default default
+highlight article "https?://[^ ]+" green default
+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