Add newsboat gruvbox colorscheme

pull/1/head
Ensar Sarajčić 2021-01-17 21:49:31 +01:00
parent e0dea1c050
commit 71bff23217
4 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Newsboat colour scheme to work with the Gruvbox palette
# Custom made based on https://github.com/morhetz/gruvbox
color background color235 default
color listnormal color223 default
color listnormal_unread color106 default
color listfocus color109 color243
color listfocus_unread color214 color243
color info color66 color236
color article color223 default
# highlights
highlight article "^(Feed|Link):.*$" color106 default bold
highlight article "^(Title|Date|Author):.*$" color106 default bold
highlight article "https?://[^ ]+" color66 default underline
highlight article "\\[[0-9]+\\]" color132 default bold
highlight article "\\[image\\ [0-9]+\\]" color66 default bold
highlight feedlist "^─.*$" color106 color243 bold

View File

@ -9,7 +9,7 @@ bind-key ^R reload-all
# Display
show-read-feeds no
text-width 80
include /usr/share/doc/newsboat/contrib/colorschemes/nord
include ~/.config/newsboat/colors
# Navigation
browser xdg-open

View File

@ -0,0 +1,18 @@
# Newsboat colour scheme to work with the Gruvbox palette
# Custom made based on https://github.com/morhetz/gruvbox
color background color235 default
color listnormal color223 default
color listnormal_unread color106 default
color listfocus color109 color243
color listfocus_unread color214 color243
color info color66 color236
color article color72 default
# highlights
highlight article "^(Feed|Link):.*$" color106 default bold
highlight article "^(Title|Date|Author):.*$" color106 default bold
highlight article "https?://[^ ]+" color66 default underline
highlight article "\\[[0-9]+\\]" color132 default bold
highlight article "\\[image\\ [0-9]+\\]" color66 default bold
highlight feedlist "^─.*$" color106 color243 bold

View File

@ -20,8 +20,11 @@ cp $themedir/fehbg $configdir/other-scripts/fehbg
rm $configdir/alacritty/colors.yml.bak
mv $configdir/alacritty/colors.yml $configdir/alacritty/colors.yml.bak
rm $configdir/newsboat/colors.bak
mv $configdir/newsboat/colors $configdir/newsboat/colors.bak
ln -sT $themedir/alacritty_colors.yml $configdir/alacritty/colors.yml
ln -sT $themedir/sway_colors $configdir/sway/conf.d/99_colors_override
ln -sT $themedir/newsboatcolors $configdir/newsboat/colors
FG=black
if [[ $theme == *"light"* ]]; then