feat: add padding

This commit is contained in:
Abhishek Keshri 2024-03-27 09:27:18 +05:30 committed by Abhishek Keshri
parent d87007c2d0
commit 0951fbca45
3 changed files with 9 additions and 10 deletions

View file

@ -17,7 +17,7 @@ get_percent() {
cpucores=$(sysctl -n hw.logicalcpu)
cpuusage=$((cpuvalue / cpucores))
percent="$cpuusage%"
normalize_padding $percent
normalize_padding "$percent"
;;
CYGWIN* | MINGW32* | MSYS* | MINGW*) ;; # TODO - windows compatibility