Improve glitz glyphs

Nathan L. Conrad 5 years ago
parent 977fe13b87
commit fd63b8cbe2

@ -164,10 +164,10 @@ nerd-font)
stime=$'\xef\x99\x94 '
file=$'\xef\x83\xb6 '
tty=$'\xef\x9a\x8c '
xfer=$'\xef\xa8\xaf'
xfer=$'\xef\x92\x92 '
success=$'\xef\x89\x9b '
failure=$'\xee\x88\xb1 '
timer=$'\xef\xa8\x9a'
timer=$'\xef\x99\x90 '
positions[0]=$'\xef\xa2\xa1 '
positions[1]=$'\xef\xa2\xa4 '
positions[2]=$'\xef\xa2\xa7 '
@ -250,7 +250,7 @@ function dlen
do
set -- "${1//$i}"
done
printf '%s\n' "$(sanitize "$1")" | wc -L
printf '%s\n' "$1" | wc -L
}
# Usage: trunc str len
@ -304,7 +304,7 @@ function field
fi
foregnd=$3
[[ -n $foregnd ]] && foregnd=${fgnd[$foregnd]}
printf %s "$edge$ledge$normal$backgnd$foregnd$imargin$(sanitize "$1")" \
printf %s "$edge$ledge$normal$backgnd$foregnd$imargin$1" \
"$normal$backgnd$foregnd$imargin$edge$redge$normal"
echo
}

Loading…
Cancel
Save