This commit is contained in:
Sakooooo 2024-08-08 13:51:27 +04:00
parent 33b4a0d5c1
commit 3c63916cab
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -126,7 +126,7 @@ function BatteryLabel() {
const icon = battery.bind("percent").as(p =>
`battery-level-${Math.floor(p / 10) * 10}-symbolic`)
const percent = battery.bind("percent").as(x => x.toString) + "%"
const percent = battery.bind("percent").as(x => x.toString()) + "%"
return Widget.Box({
class_name: "battery",