summaryrefslogtreecommitdiff
path: root/.config/newsboat/config
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-03 19:27:15 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-03 19:27:15 -0400
commite371d9edd474bcf89cf5d462eaccb8638900b390 (patch)
treeed07118f5c514a55f23a779a1507640e46fd9ed2 /.config/newsboat/config
Initial commit
Diffstat (limited to '.config/newsboat/config')
-rw-r--r--.config/newsboat/config45
1 files changed, 45 insertions, 0 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
new file mode 100644
index 0000000..4382f3f
--- /dev/null
+++ b/.config/newsboat/config
@@ -0,0 +1,45 @@
+# show-read-feeds no
+# auto-reload yes
+
+external-url-viewer "urlscan -dc -r 'linkhandler {}'"
+
+bind-key j down
+bind-key k up
+bind-key j next articlelist
+bind-key k prev articlelist
+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
+bind-key ^t next-unread
+
+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
+color article cyan default
+
+browser $SCRIPTS/handling/linkhandler
+# external-url-viewer "less"
+macro , open-in-browser
+macro t set browser "tsp youtube-dl --add-metadata -ic"; open-in-browser ; set browser linkhandler
+macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser linkhandler
+macro v set browser "setsid nohup mpv"; open-in-browser ; set browser linkhandler
+macro w set browser "w3m"; open-in-browser ; set browser linkhandler
+# macro P external-url-viewer "grep"
+macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkandler
+
+player "$SCRIPTS/handling/pod-dl"
+download-path ~/Downloads/Podcasts
+