fjfklasdfkl
parent
6c232a9609
commit
5ed6087ff9
|
@ -35,35 +35,27 @@ help () {
|
||||||
[ "$( wc -l "$FILE" | cut -d ' ' -f 1 )" != "16" ] && help && exit
|
[ "$( wc -l "$FILE" | cut -d ' ' -f 1 )" != "16" ] && help && exit
|
||||||
|
|
||||||
|
|
||||||
NB=""
|
COLOR00="$(sed '1!d' "$FILE")"
|
||||||
NF=""
|
COLOR01="$(sed '2!d' "$FILE")"
|
||||||
HB=""
|
COLOR02="$(sed '3!d' "$FILE")"
|
||||||
HF=""
|
COLOR03="$(sed '4!d' "$FILE")"
|
||||||
SB=""
|
COLOR04="$(sed '5!d' "$FILE")"
|
||||||
SF=""
|
COLOR05="$(sed '6!d' "$FILE")"
|
||||||
TB=""
|
COLOR06="$(sed '7!d' "$FILE")"
|
||||||
TF=""
|
COLOR07="$(sed '8!d' "$FILE")"
|
||||||
FB=""
|
COLOR08="$(sed '9!d' "$FILE")"
|
||||||
FF="#ffffff"
|
COLOR09="$(sed '10!d' "$FILE")"
|
||||||
|
COLOR0A="$(sed '11!d' "$FILE")"
|
||||||
|
COLOR0B="$(sed '12!d' "$FILE")"
|
||||||
|
COLOR0C="$(sed '13!d' "$FILE")"
|
||||||
|
COLOR0D="$(sed '14!d' "$FILE")"
|
||||||
|
COLOR0E="$(sed '15!d' "$FILE")"
|
||||||
|
COLOR0F="$(sed '16!d' "$FILE")"
|
||||||
|
|
||||||
IFS='
|
|
||||||
'
|
|
||||||
|
|
||||||
COUNT=0
|
|
||||||
for LINE in $(cat "$FILE")
|
|
||||||
do
|
|
||||||
case $COUNT in
|
|
||||||
0) NB="$LINE" && HB="$LINE" && TB="$LINE" && FB="$LINE";;
|
|
||||||
1) SB="$LINE";;
|
|
||||||
6) HF="$LINE" && SF="$LINE";;
|
|
||||||
10) NF="$LINE" && TF="$LINE";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
COUNT=$((COUNT + 1))
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "bemenu colors updated."
|
echo "bemenu colors updated."
|
||||||
|
|
||||||
echo "#!/bin/sh" > "$BEMENUOPTS_FILE"
|
echo "#!/bin/sh" > "$BEMENUOPTS_FILE"
|
||||||
echo "#generated from: $1" >> "$BEMENUOPTS_FILE"
|
echo "#generated from: $1" >> "$BEMENUOPTS_FILE"
|
||||||
echo "export BEMENU_OPTS=\"-H $HEIGHT --nb $NB --nf $NF --hb $HB --hf $HF --sb $SB --sf $SF --tb $TB --tf $TF --fb $FB --ff $FF\"" >> "$BEMENUOPTS_FILE"
|
#echo "export BEMENU_OPTS=\"-H $HEIGHT --tb $COLOR03 --tf $COLOR06 --fb $COLOR00 --ff $COLOR06 --nb $COLOR00 --nf $COLOR04 --hb $COLOR0A --hf $COLOR0A --sb $COLOR02 --sf $COLOR0A --scb $COLOR00 --scf $COLOR0E \"" >> "$BEMENUOPTS_FILE"
|
||||||
|
echo "export BEMENU_OPTS=\"-H $HEIGHT --tb $COLOR00 --tf $COLOR0A --fb $COLOR00 --ff $COLOR09 --nb $COLOR02 --nf $COLOR0A --hb $COLOR06 --hf $COLOR06 --sb $COLOR01 --sf $COLOR06 \"" >> "$BEMENUOPTS_FILE"
|
||||||
|
|
|
@ -72,6 +72,7 @@ depends=(
|
||||||
"archlinux-wallpaper"
|
"archlinux-wallpaper"
|
||||||
|
|
||||||
#tui, terminal programs and programs/libs used by them
|
#tui, terminal programs and programs/libs used by them
|
||||||
|
"tldr"
|
||||||
"imagemagick"
|
"imagemagick"
|
||||||
"ffmpegthumbnailer"
|
"ffmpegthumbnailer"
|
||||||
"python-pdftotext"
|
"python-pdftotext"
|
||||||
|
|
Loading…
Reference in New Issue