feat: change status bar percent at 100 to Bot (#930)

This commit is contained in:
AidanV 2024-04-19 19:11:50 -07:00 committed by GitHub
parent ff14b9a265
commit 669373a030
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,8 @@ function Status:percentage()
if percent == 0 then if percent == 0 then
percent = " Top " percent = " Top "
elseif percent == 100 then
percent = " Bot "
else else
percent = string.format(" %3d%% ", percent) percent = string.format(" %3d%% ", percent)
end end