This commit is contained in:
Sakooooo 2024-08-08 13:48:23 +04:00
parent 356a00429c
commit 33b4a0d5c1
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",