aboutsummaryrefslogtreecommitdiff
path: root/tw/home/files/newsboat.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/files/newsboat.conf')
-rw-r--r--tw/home/files/newsboat.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/tw/home/files/newsboat.conf b/tw/home/files/newsboat.conf
new file mode 100644
index 00000000..7959e138
--- /dev/null
+++ b/tw/home/files/newsboat.conf
@@ -0,0 +1,29 @@
+# newsboat config -*- conf-space -*-
+# https://newsboat.org/releases/2.29/docs/newsboat.html#_newsboat_configuration_commands
+# Vim-like keys.
+bind-key j down
+bind-key k up
+bind-key J next-feed articlelist
+bind-key K prev-feed articlelist
+
+# Reload feeds on startup, in parallel.
+auto-reload yes
+reload-threads 100
+
+text-width 72 # wrap rendered HTML at 72 cols (or terminal width, if smaller)
+scrolloff 2 # show 2 lines above/below selected line
+show-keymap-hint no
+show-title-bar yes
+datetime-format "%e %b %Y" # e.g. " 9 Dec 2022"
+notify-program "dunstify -a newsboat -i newsboat Newsboat"
+notify-format "%d new articles (%n unread articles, %f unread feeds)"
+
+# Sync with Nextcloud News.
+urls-source "ocnews"
+ocnews-url "https://cloud.wilkenfamily.de/"
+ocnews-login "timo"
+ocnews-passwordeval "pass www/nextcloud/timo | head -1"
+ocnews-flag-star "s"
+
+# Catppuccin theme.
+include ~/.config/newsboat/config.catppuccin