fix: update newboat config

This commit is contained in:
Matthew McKinnon 2024-03-17 20:41:11 +10:00
parent 62eea076fd
commit 4adeb777c5
4 changed files with 34 additions and 16 deletions

View File

@ -9,20 +9,35 @@ browser qutebrowser
macro i set browser "feh %u"; open-in-browser ; set browser "qutebrowser" macro i set browser "feh %u"; open-in-browser ; set browser "qutebrowser"
macro w set browser "w3m %u"; open-in-browser ; set browser "qutebrowser" macro w set browser "w3m %u"; open-in-browser ; set browser "qutebrowser"
# Dark theme based on Dracula color scheme for newsboat.
#
# In order to use this color scheme, you must first configure
# your terminal emulator to use the Dracula palette.
# See <https://draculatheme.com/> for more information.
# col # item # fg # bg color background default default
#color background color7 default # the most bottom bar color listnormal color255 default
#color listnormal color7 default # unfocused and without N color listfocus color238 color255 standout
#color listnormal_unread color7 default # unfocused and with N color listnormal_unread color47 default
#color listfocus color7 color8 # focused and without N color listfocus_unread color238 color47 standout
#color listfocus_unread color7 color8 bold # focused but with N color info color141 color236
#color info color0 color1 # bottom and top info bars
color article color15 default # content of an article
# highlights # highlights
highlight article "^(Feed|Link):.*$" color14 default bold highlight all "---.*---" yellow
highlight article "^(Title|Date|Author):.*$" color11 default bold highlight feedlist ".*(0/0))" black
highlight article "https?://[^ ]+" color12 default underline highlight article "(^Feed:|^Title:|^Date:|^Link:|^Author:)" cyan default bold
highlight article "\\[[0-9]+\\]" color10 default bold highlight article "https?://[^ ]+" yellow default
highlight article "\\[image\\ [0-9]+\\]" color9 default bold highlight article "\\[[0-9][0-9]*\\]" magenta default bold
highlight article "^(Flags):.*$" color9 default bold highlight article "\\[image\\ [0-9]+\\]" green default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold
highlight article ":.*\\(link\\)$" cyan default
highlight article ":.*\\(image\\)$" blue default
highlight article ":.*\\(embedded flash\\)$" magenta default
# highlights
#highlight article "^(Feed|Link):.*$" color14 default bold
#highlight article "^(Title|Date|Author):.*$" color11 default bold
#highlight article "https?://[^ ]+" color12 default underline
#highlight article "\\[[0-9]+\\]" color10 default bold
#highlight article "\\[image\\ [0-9]+\\]" color9 default bold
#highlight article "^(Flags):.*$" color9 default bold

View File

@ -28,4 +28,4 @@ https://archlinux.org/feeds/news/ "~archlinuxnews" "(News)"
# (Podcasts) # (Podcasts)
https://selfhosted.show/rss "~self-hosted" "(Podcasts)" https://selfhosted.show/rss "~self-hosted" "(Podcasts)"
https://linuxunplugged.com/rss "~linuxunplugged" "(Podcasts)" https://linuxunplugged.com/rss "~linuxunplugged" "(Podcasts)"
https://linuxactionnews.com/rss "~linuxactionnews" "(Podcasts)" https://latenightlinux.com/feed/mp3 "~Late Night Linux" "(Podcasts)"

View File

View File

@ -61,7 +61,10 @@ ln -s `pwd`/config/picom ~/.config/picom
# Setup qutebrowser # Setup qutebrowser
rm -fr ~/.config/qutebrowser rm -fr ~/.config/qutebrowser
ln -s `pwd`/config/qutebrowser ~/.config/qutebrowser mkdir ~/.config/qutebrowser
mkdir ~/.config/qutebrowser/bookmarks
ln -s `pwd`/config/qutebrowser/config.py ~/.config/qutebrowser/config.py
ln -s `pwd`/config/qutebrowser/bookmarks/urls ~/.config/qutebrowser/bookmarks/urls
# Set Newsboat # Set Newsboat
rm -fr ~/.config/newsboat rm -fr ~/.config/newsboat