aboutsummaryrefslogtreecommitdiff
path: root/tw/services/files/newsboat.conf
diff options
context:
space:
mode:
authorTimo Wilken2024-03-09 14:52:56 +0100
committerTimo Wilken2024-03-10 16:19:00 +0100
commitde20fc8d904643ffe6957febfc6a24e57c12b512 (patch)
tree8177459e40786bd432a37c5833f26350fb689356 /tw/services/files/newsboat.conf
parentda5e9d5ee98dfc216eb7e3b1559c09f4bf868bf6 (diff)
Separate home service into PIM, dev env and graphical parts
This means we only instantiate Shepherd and mcron services if we really need them, to avoid annoyance on servers.
Diffstat (limited to 'tw/services/files/newsboat.conf')
-rw-r--r--tw/services/files/newsboat.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/tw/services/files/newsboat.conf b/tw/services/files/newsboat.conf
new file mode 100644
index 00000000..7959e138
--- /dev/null
+++ b/tw/services/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