From 0d20b22d353ae711230315b4e36297eb089f7305 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 28 Jul 2019 17:04:22 -0300 Subject: Adds missing files --- config.dot/newsboat/colors.link | 21 +++++++++++++++++++++ config.dot/newsboat/config.link | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 config.dot/newsboat/colors.link create mode 100644 config.dot/newsboat/config.link diff --git a/config.dot/newsboat/colors.link b/config.dot/newsboat/colors.link new file mode 100644 index 0000000..ec888de --- /dev/null +++ b/config.dot/newsboat/colors.link @@ -0,0 +1,21 @@ +# inkpotish color scheme for newsboat +# more on inkpot: http://www.vim.org/scripts/script.php?script_id=1143 +# https://github.com/alpha-omega/newsboat/blob/HEAD/contrib/colorschemes/inkpot +# http://www.newsboat.org/doc/newsboat.html#_configuring_colors + +# colors +color background color229 default +color listnormal color229 default +color listfocus color229 color61 bold +color info color247 color235 +color article color229 default +color listnormal_unread color229 default +color listfocus_unread color229 color61 bold + +# highlights +highlight article "^(Feed|Link):.*$" color39 default bold +highlight article "^(Title|Date|Author):.*$" color39 default bold +highlight article "https?://[^ ]+" color46 default underline +highlight article "\\[[0-9]+\\]" color63 default bold +highlight article "\\[image\\ [0-9]+\\]" color63 default bold +highlight feedlist "^─.*$" color229 color61 bold diff --git a/config.dot/newsboat/config.link b/config.dot/newsboat/config.link new file mode 100644 index 0000000..5043f14 --- /dev/null +++ b/config.dot/newsboat/config.link @@ -0,0 +1,40 @@ +# Basic settings +download-timeout 10 +max-items 0 +auto-reload yes + +# Default browser +#browser "firefox -new-tab %u" +browser "firefox -P news --new-tab '%u'" +#browser "vbox exec web /usr/bin/firefox -new-tab %u" +#browser "terminal torify elinks '%u' &" +#browser "terminal tority '%u' &" +#browser "terminal w3m '%u' &" +#browser "terminal torify lynx '%u' &" +#browser "terminal lynx '%u' &" + +# Open URL bindings +bind-key o open-in-browser-and-mark-read articlelist +bind-key o open-in-browser article + +# Macros +#macro b set browser "echo '%u' >> ~/file/estudo/spool.md" ; open-in-browser-and-mark-read ; set browser "kvmx ssh web -X /usr/bin/firefox -new-tab '%u'" +#macro e set browser "echo '%u' | xclip" ; open-in-browser-and-mark-read ; set browser "kvmx ssh web -X /usr/bin/firefox -new-tab %u" + +# Use Tor by default +#proxy-type socks5h # Upcoming option that also proxies DNS requests, planned for newsboat 2.10 +proxy-type socks5 +proxy localhost:9050 +use-proxy yes + +# Use OPML online subscription mode +urls-source "opml" + +# Default URLs +opml-url "https://git.fluxo.info/feeds/plain/essential.opml" "https://git.fluxo.info/feeds/plain/news.opml" + +# Colors +include "~/.config/newsboat/colors" + +# Custom configuration +include "~/.custom/newsboat/config" -- cgit v1.2.3