aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-07-28 17:04:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-07-28 17:04:22 -0300
commit0d20b22d353ae711230315b4e36297eb089f7305 (patch)
tree31ac5007f905e37ab19bbbcbc37e4039d74f6abb
parentb354f9104dbc44d090418672f3a0e85a0e7fdff6 (diff)
downloadnewsboat-0d20b22d353ae711230315b4e36297eb089f7305.tar.gz
newsboat-0d20b22d353ae711230315b4e36297eb089f7305.tar.bz2
Adds missing files
-rw-r--r--config.dot/newsboat/colors.link21
-rw-r--r--config.dot/newsboat/config.link40
2 files changed, 61 insertions, 0 deletions
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 <http://www.newsboat.org/>
+# 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"