Fix Nerd Font symbols on macOS

This commit is contained in:
Kenneth Benzie 2023-08-04 15:57:05 +01:00
parent 78afc517ba
commit 22fef1a533

View File

@ -34,7 +34,7 @@ while true; do
grep --color=never -Eo '\d+%' | \ grep --color=never -Eo '\d+%' | \
grep --color=never -Eo '\d+')" grep --color=never -Eo '\d+')"
battery="$(echo $raw_battery | gawk '$battery ~ /.*/ { battery="$(echo $raw_battery | gawk '$battery ~ /.*/ {
printf "%3d%% %s\n", $battery, substr("", int($battery / 9), 1) printf "%3d%% %s\n", $battery, substr("󰂎󰁺󰁻󰁼󰁽󰁾󰁿󰂀󰂁󰂂󰁹", int($battery / 9), 1)
}')" }')"
fi fi