From 73887eee59ddd41492ab570a7a6dd752a75035f0 Mon Sep 17 00:00:00 2001 From: Olivia Mackintosh Date: Sun, 7 Aug 2022 20:48:52 +0200 Subject: Add newsboat config and urls --- .config/newsboat/config | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ .config/newsboat/urls | 10 +++++++++ .gitignore | 3 +++ 3 files changed, 68 insertions(+) create mode 100644 .config/newsboat/config create mode 100644 .config/newsboat/urls create mode 100644 .gitignore diff --git a/.config/newsboat/config b/.config/newsboat/config new file mode 100644 index 0000000..b7a78da --- /dev/null +++ b/.config/newsboat/config @@ -0,0 +1,55 @@ +#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 + +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 white default bold + +browser linkhandler +macro , open-in-browser +macro t set browser "qndl" ; open-in-browser ; set browser linkhandler +macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestaudio/best" ; open-in-browser ; set browser linkhandler +macro v set browser "setsid -f mpv" ; open-in-browser ; set browser linkhandler +macro w set browser "lynx" ; open-in-browser ; set browser linkhandler +macro d set browser "dmenuhandler" ; open-in-browser ; set browser linkhandler +macro c set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser linkhandler +macro C set browser "youtube-viewer --comments=%u" ; open-in-browser ; set browser linkhandler +macro p set browser "peertubetorrent %u 480" ; open-in-browser ; set browser linkhandler +macro P set browser "peertubetorrent %u 1080" ; open-in-browser ; set browser linkhandler + +highlight all "---.*---" yellow +highlight feedlist ".*(0/0))" black +highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold +highlight article "(^Link:.*|^Date:.*)" default default +highlight article "https?://[^ ]+" green default +highlight article "^(Title):.*$" blue default +highlight article "\\[[0-9][0-9]*\\]" magenta default bold +highlight article "\\[image\\ [0-9]+\\]" green default bold +highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold +highlight article ":.*\\(link\\)$" cyan default +highlight article ":.*\\(image\\)$" blue default +highlight article ":.*\\(embedded flash\\)$" magenta default diff --git a/.config/newsboat/urls b/.config/newsboat/urls new file mode 100644 index 0000000..fc8b1fd --- /dev/null +++ b/.config/newsboat/urls @@ -0,0 +1,10 @@ +https://base.nu/atom.xml + +https://yewtu.be/feed/channel/UC2DjFE7Xf11URZqWBigcVOQ # EEVBlog + +https://yewtu.be/feed/channel/UCciQ8wFcVoIIMi-lfu8-cjQ # Anton Petrov + +https://yewtu.be/feed/channel/UCLadFapyecCYAeuTqc12avA # Sam Vaknin + +https://yewtu.be/feed/channel/UCy0tKL1T7wFoYcxCe0xjN6Q # Technology Connections + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..21309db --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +* +!/.gitignore +!/.config** -- cgit v1.2.3