This commit is contained in:
Sakooooo 2024-08-05 04:58:44 +04:00
parent 434793d354
commit 10e36bcce0
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -126,6 +126,8 @@ 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`)
console.log(value);
return Widget.Box({ return Widget.Box({
class_name: "battery", class_name: "battery",
visible: battery.bind("available"), visible: battery.bind("available"),