commit 9de4e764cf3d2fe9ce1c4631458b5aaee2598bff
parent 03b0e4ff88933c7e6239c1c7424c0c86a62b63e6
Author: pyratebeard <root@pyratebeard.net>
Date: Wed, 3 Jun 2020 20:17:37 +0100
lots of updates
add browser, notify-program, and mpv. set max-items. updates colours and include highlight colours. set vim like keybindings. macros for mpv and tuir with newstuir script to launch in virtualenv. podboat dl dir
Diffstat:
4 files changed, 86 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -17,7 +17,7 @@ newsboat/.newsboat/cache.db
newsboat/.newsboat/cache.db.lock
newsboat/.newsboat/history.cmdline
newsboat/.newsboat/history.search
-newsboat/.newsboat/urls
+newsboat/.newsboat/queue
ncmpcpp/.ncmpcpp/error.log
tmux/.tmux/plugins/
vim/.vim/bundle/
diff --git a/bin/bin/newstuir b/bin/bin/newstuir
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+source ~/src/warez/tuir/bin/activate
+screen=TERM tuir $1
+
diff --git a/newsboat/.newsboat/config b/newsboat/.newsboat/config
@@ -2,8 +2,42 @@
# ░█░█░█▀▀░█▄█░▀▀█░█▀▄░█░█░█▀█░░█░░░
# ░▀░▀░▀▀▀░▀░▀░▀▀▀░▀▀░░▀▀▀░▀░▀░░▀░░░
auto-reload yes
-color info blue black
-color listfocus_unread color5 black
-color listfocus color1 black
+
+browser w3m
save-path ~/tmp
+notify-program notify-send
+player mpv
+
+# interface
text-width 0
+max-items 20
+
+# interface colours
+color info blue black
+color listfocus_unread color6 color0
+color listfocus color12 color0
+
+# feed headers colours
+highlight feedlist ".*-----.*" color13 default
+
+# article colours
+highlight article "^Feed:.*" color5 default
+highlight article "^Title:.*" color6 default
+highlight article "^Author:.*" color4 default
+highlight article "^Date:.*" color5 default
+highlight article "^Link:.*" color10 default
+
+# key bindings
+bind-key j down
+bind-key k up
+bind-key h quit
+bind-key l open
+
+# macros
+macro ; open-in-browser
+macro m set browser "mpv %u" ; open-in-browser ; set browser w3m
+macro r set browser "~/bin/newstuir %u" ; open-in-browser ; set browser w3m
+
+# podboat
+download-path "~/lib/aud/podcasts/%h/%n"
+max-downloads 3
diff --git a/newsboat/.newsboat/urls b/newsboat/.newsboat/urls
@@ -0,0 +1,43 @@
+---------------blogs
+https://log.pyratebeard.net/index.xml "~pyratebeard" "blogs"
+http://feeds.xero.nu/rss/blog/newest "~xero" "blogs"
+https://venam.nixers.net/blog/feed.xml "~venam" "blogs"
+https://lonesysadmin.net/feed/ "~lonesysadmin" "blogs"
+http://feeds.feedburner.com/blogspot/UGWd?format-xml "~pcg" "blogs" "comics"
+
+---------newsletters
+https://nixers.net/newsletter/feed.xml "~nixers" "newsletters"
+https://www.archlinux.org/feeds/news/ "~arch" "newsletters"
+https://pluralistic.net/feed/ "~cory - pluralistic" "newsletters"
+https://fedoramagazine.org/feed/ "~fedora magazine" "newsletters"
+https://itsfoss.com/feed/ "~it's foss" "newsletters"
+
+--------------reddit
+https://reddit.com/r/vim.rss "~vim" "reddit"
+https://reddit.com/r/zsh.rss "~zsh" "reddit"
+https://reddit.com/r/privacy.rss "~privacy" "reddit"
+https://reddit.com/r/opensource.rss "~opensource" "reddit"
+https://reddit.com/r/comicbooks.rss "~comicbooks" "reddit" "comics"
+
+------------podcasts
+https://podcast.nixers.net/feed/feed.xml "~nixers" "podcasts"
+https://error.show/rss "~user error" "podcasts"
+https://selfhosted.show/rss "~selfhosted" "podcasts"
+http://www.2600.com/oth-broadband.xml "~off the hook" "podcasts"
+http://feeds.feedburner.com/doctorow_podcast "~cory doctorow" "podcasts"
+
+-------------youtube
+https://invidio.us/feed/channel/UC3s0BtrBJpwNDaflRSoiieQ "~hak5" "youtube"
+https://invidio.us/feed/channel/UCfhSB16X9MXhzSFe_H7XbHg "~bryan jenks" "youtube"
+https://invidio.us/feed/channel/UCXPHFM88IlFn68OmLwtPmZA "~greg hurrell" "youtube"
+https://invidio.us/feed/channel/UC2eYFnH61tmytImy1mTYvhA "~luke smith" "youtube"
+https://invidio.us/feed/channel/UCeUMZ4t3ezEJFhXHJg9rshQ "~bangertv" "youtube"
+https://invidio.us/feed/channel/UCRcgy6GzDeccI7dkbbBna3Q "~lemmino" "youtube"
+https://invidio.us/feed/channel/UCpFFItkfZz1qz5PpHpqzYBw "~nexpo" "youtube"
+
+---------------music
+https://media.defcon.org/DEF%20CON%20rss/defcon-18-music.rss "~defcon" "music"
+
+----------------code
+https://www.kernel.org/feeds/kdist.xml "~kernel releases" "code"
+https://code.briarproject.org/briar/briar/-/tags?format=atom "~briar - tags" "code"