Improve status rendering

This commit is contained in:
Philippe Caseiro 2022-03-23 16:54:31 +01:00
parent 3bdbc31f9f
commit f0aca745f5

2
badgy
View File

@ -28,7 +28,7 @@ s2h()
local h=$(( sc / 3600))
local m=$(( (sc % 3600) / 60 ))
local s=$(( sc % 60))
echo "${h}h${m}m"
printf "%dh%02dm" "${h}" "${m}"
}
getNewBalance()