homebrew support and newsboat

This commit is contained in:
Diego Fernando Carrión 2024-10-17 17:43:45 +02:00
parent d0c8b71ea3
commit 29e32723f6
No known key found for this signature in database
GPG Key ID: A286B34D5CFB3404
3 changed files with 42 additions and 0 deletions

View File

@ -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

1
home/any/newsboat.dirs Normal file
View File

@ -0,0 +1 @@
.newsboat

View File

@ -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