aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-11-27 20:28:24 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-11-27 20:28:24 -0500
commitb851f0627149787a370c2b370efdbb5167c98b80 (patch)
treeea33c535c850a6399beb531bb58d5aefce6fa115
parentUpdate packages (diff)
downloaddotfiles-b851f0627149787a370c2b370efdbb5167c98b80.zip
Add newsboat
-rwxr-xr-xinstall.sh1
-rw-r--r--newsboat/.config/newsboat/config47
2 files changed, 48 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 2ec1508..05df1ec 100755
--- a/install.sh
+++ b/install.sh
@@ -27,6 +27,7 @@ main() {
stow cwm
stow kitty
stow lemonbar-xft
+ stow newsboat
fi
stow wallpapers
stow ssh
diff --git a/newsboat/.config/newsboat/config b/newsboat/.config/newsboat/config
new file mode 100644
index 0000000..22915a7
--- /dev/null
+++ b/newsboat/.config/newsboat/config
@@ -0,0 +1,47 @@
+# Tokyo Night colors
+color background default default
+color listnormal color145 default
+color listnormal_unread color109 default bold
+color listfocus color234 color109
+color listfocus_unread color234 color109 bold
+color info color109 color234
+color article color145 default
+
+# Highlights for articles
+highlight article "^(Feed|Title|Author|Link|Date):.*$" color109 default bold
+highlight article "https?://[^ ]+" color110 default underline
+highlight article "\\[[0-9]+\\]" color167 default bold
+highlight article "\\[image\\ [0-9]+\\]" color109 default bold
+
+# Vi-style keybindings
+bind-key j down
+bind-key k up
+bind-key J next-feed articlelist
+bind-key K prev-feed articlelist
+bind-key G end
+bind-key g home
+bind-key d pagedown
+bind-key u pageup
+bind-key l open
+bind-key h quit
+bind-key a toggle-article-read
+bind-key n next-unread
+bind-key N prev-unread
+bind-key D pb-download
+bind-key U show-urls
+bind-key x pb-delete
+
+# Browser
+browser "chrome %u"
+
+# Formatting
+articlelist-format "%4i %f %D %?T?|%-17T| ?%t"
+feedlist-format "%4i %n %11u %t"
+text-width 80
+
+# Behavior
+auto-reload yes
+reload-time 60
+refresh-on-startup yes
+show-read-feeds yes
+show-read-articles yes