summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-22 10:56:35 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-22 10:56:35 +0900
commit4b575178610713658f1432ce73387771a4e010b0 (patch)
tree383cfdcb1429ecffcc01c78a507de30a3fd4aba6
parentad3e5d2bb028eb2c42be3a8f61c4a919e19f2db8 (diff)
modified newsboat/config
-rw-r--r--ar/.config/newsboat/config7
1 files changed, 5 insertions, 2 deletions
diff --git a/ar/.config/newsboat/config b/ar/.config/newsboat/config
index c9b1719..bf08431 100644
--- a/ar/.config/newsboat/config
+++ b/ar/.config/newsboat/config
@@ -1,8 +1,8 @@
-# show-read-feeds no
+# Options
auto-reload yes
-
external-url-viewer "urlscan -dc -r 'linkhandler {}'"
+# Keys
bind-key j down
bind-key k up
bind-key j next articlelist
@@ -22,6 +22,7 @@ bind-key D pb-download
bind-key U show-urls
bind-key x pb-delete
+# Macros
browser linkhandler
macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestvideo*+bestaudio/best -O after_move:'%(title)s [%(id)s].%(ext)s'" ; open-in-browser ; set browser linkhandler ; -- "Download a file via yt-dlp"
macro c set browser "clonerepo" ; open-in-browser ; set browser linkhandler ; -- "Clone a git repo"
@@ -39,6 +40,7 @@ macro w set browser "setsid -f $BROWSER" ; open-in-browser ; set browser linkhan
macro y set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser linkhandler ; -- "Copy url to clipboard"
macro Y set browser "pipe-viewer --comments=%u" ; open-in-browser ; set browser linkhandler -- "Open youtube comments via pipe-viewer"
+# Colors
color listnormal cyan default
color listfocus black yellow standout bold
color listnormal_unread blue default
@@ -46,6 +48,7 @@ color listfocus_unread yellow default bold
color info red black bold
color article white default bold
+# Highlights
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold