forgot
This commit is contained in:
parent
356a00429c
commit
33b4a0d5c1
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ function BatteryLabel() {
|
||||||
const icon = battery.bind("percent").as(p =>
|
const icon = battery.bind("percent").as(p =>
|
||||||
`battery-level-${Math.floor(p / 10) * 10}-symbolic`)
|
`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({
|
return Widget.Box({
|
||||||
class_name: "battery",
|
class_name: "battery",
|
||||||
|
|
Loading…
Reference in a new issue