From fd63b8cbe2b4a4e65fe394e3e7429f42a990e644 Mon Sep 17 00:00:00 2001 From: "Nathan L. Conrad" Date: Wed, 3 Feb 2021 21:58:09 -0600 Subject: [PATCH] Improve glitz glyphs --- bin/glitz | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/glitz b/bin/glitz index 0d7cdf12..8fc407f9 100755 --- a/bin/glitz +++ b/bin/glitz @@ -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 }