#!/bin/sh walcols=/home/monoblanco/.cache/wal [ -f $walcols/xterm-256 ] && rm -rf $walcols/xterm-256 while read line; do /bin/zsh -c "hext256.py '$line' >> $walcols/xterm-256"; done < $walcols/colors color1=$(sed -n 1p $walcols/xterm-256) color2=$(sed -n 2p $walcols/xterm-256) color3=$(sed -n 3p $walcols/xterm-256) color4=$(sed -n 4p $walcols/xterm-256) color5=$(sed -n 5p $walcols/xterm-256) color6=$(sed -n 6p $walcols/xterm-256) cat << EOF > $walcols/newsboat highlight feedlist "\\❮Unsorted\\❯" $color4 highlight feedlist "\\❮Politics\/Philosophy\\❯" $color6 highlight feedlist "\\❮MDE\\❯" $color4 highlight feedlist "\\❮Schizophrenics Online\\❯" $color6 highlight feedlist "\\❮Tech\/Linux\/Coding\\❯" $color6 highlight feedlist "\\❮Shitpost\/Meme\\❯" $color6 highlight feedlist "\\❮Cooking\\❯" $color4 highlight feedlist "\\❮Text\/Blog\\❯" $color4 highlight feedlist "\\❮Nitter\\❯" $color4 color listnormal color245 default color listfocus color58 default color listnormal_unread white default bold color listfocus_unread color220 default bold color info black black bold color article default default highlight article "^Feed:.*" magenta default highlight article "^Title:.*" yellow default bold highlight article "^Author:.*" green default highlight article "^Date:.*" color223 default highlight article "^Link:.*" blue default highlight article "^Flags:.*" color9 default highlight article "\\[[0-9][0-9]*\\]" color66 default bold highlight article "\\[image [0-9][0-9]*\\]" color109 default bold highlight article "\\[embedded flash: [0-9][0-9]*\\]" color66 default bold highlight feedlist "[││]" color245 default bold highlight feedlist "├─.*" color245 default bold EOF