diff --git a/symlinks/config/newsboat/colors b/symlinks/config/newsboat/colors new file mode 100644 index 0000000..8d62ec8 --- /dev/null +++ b/symlinks/config/newsboat/colors @@ -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 diff --git a/symlinks/config/newsboat/config b/symlinks/config/newsboat/config index 178639c..5cf0ab2 100644 --- a/symlinks/config/newsboat/config +++ b/symlinks/config/newsboat/config @@ -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 diff --git a/themes/gruvbox-dark/newsboatcolors b/themes/gruvbox-dark/newsboatcolors new file mode 100644 index 0000000..d44669d --- /dev/null +++ b/themes/gruvbox-dark/newsboatcolors @@ -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 diff --git a/themes/select-theme b/themes/select-theme index e9b4300..3191f29 100755 --- a/themes/select-theme +++ b/themes/select-theme @@ -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