changed '//' to '/' - seems like it was a typo

This commit is contained in:
streetturtle 2018-09-25 17:36:09 -04:00
parent 9c181c5c70
commit e55a3ae77a
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ watch("acpi", 10,
charge = charge + batt.charge
end
charge = charge // #battery_info -- use average charge for battery icon
charge = charge / #battery_info -- use average charge for battery icon
if (charge >= 0 and charge < 15) then
batteryType = "battery-empty%s-symbolic"

View File

@ -60,7 +60,7 @@ watch("acpi", 10,
charge = charge + batt.charge
end
charge = charge // #battery_info -- use average charge for battery icon
charge = charge / #battery_info -- use average charge for battery icon
widget.value = charge / 100
if status == 'Charging' then