From 29e32723f6643ceafa2979e4c35c9b358ba88cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Fernando=20Carri=C3=B3n?= Date: Thu, 17 Oct 2024 17:43:45 +0200 Subject: [PATCH] homebrew support and newsboat --- home/any/bash/.bashrc | 5 +++++ home/any/newsboat.dirs | 1 + home/any/newsboat/.newsboat/config | 36 ++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 home/any/newsboat.dirs create mode 100644 home/any/newsboat/.newsboat/config diff --git a/home/any/bash/.bashrc b/home/any/bash/.bashrc index afad08d..15ab8b7 100644 --- a/home/any/bash/.bashrc +++ b/home/any/bash/.bashrc @@ -171,3 +171,8 @@ then eval "$(atuin init bash --disable-up-arrow)" bind -x '"\C-r": __atuin_history' fi + +if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ] +then + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" +fi diff --git a/home/any/newsboat.dirs b/home/any/newsboat.dirs new file mode 100644 index 0000000..d0809bc --- /dev/null +++ b/home/any/newsboat.dirs @@ -0,0 +1 @@ +.newsboat diff --git a/home/any/newsboat/.newsboat/config b/home/any/newsboat/.newsboat/config new file mode 100644 index 0000000..561633a --- /dev/null +++ b/home/any/newsboat/.newsboat/config @@ -0,0 +1,36 @@ +# a comment +max-items 100 # such comments are possible, too +browser links +show-read-feeds yes + +unbind-key R +bind-key ^R reload-all + +bind-key k up +bind-key j down +bind-key ^U halfpageup +bind-key ^D halfpagedown + +urls-source "ttrss" +ttrss-url "https://rss.sdf.org" +ttrss-login "crthaze" +ttrss-passwordfile "~/.newsboat/ttrss-password" + +ttrss-flag-star "s" + +# Colors +# color background color223 color0 +color listnormal color223 color0 +color listnormal_unread color2 color0 +color listfocus color223 color237 +color listfocus_unread color223 color237 +color info color8 color0 +color article color223 color0 + +# highlights +highlight article "^(Feed|Link):.*$" color11 default bold +highlight article "^(Title|Date|Author):.*$" color11 default bold +highlight article "https?://[^ ]+" color2 default underline +highlight article "\\[[0-9]+\\]" color2 default bold +highlight article "\\[image\\ [0-9]+\\]" color2 default bold +highlight feedlist "^─.*$" color6 color6 bold