From 22fef1a5337a88942964840510a09089ee94a5fc Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 4 Aug 2023 15:57:05 +0100 Subject: [PATCH] Fix Nerd Font symbols on macOS --- system-info/system-info-macOS.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-info/system-info-macOS.sh b/system-info/system-info-macOS.sh index 3fca948..54a8f97 100755 --- a/system-info/system-info-macOS.sh +++ b/system-info/system-info-macOS.sh @@ -34,7 +34,7 @@ while true; do grep --color=never -Eo '\d+%' | \ grep --color=never -Eo '\d+')" 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