This commit is contained in:
Sakooooo 2024-08-05 16:25:37 +04:00
parent b56d98553c
commit 43595f33f3
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -132,13 +132,12 @@ function BatteryLabel() {
children: [ children: [
// Widget.Icon({ icon }), // Widget.Icon({ icon }),
Widget.Label({ Widget.Label({
label: battery.bind("precent").toString(), label: battery.bind('percent').as(x => x.toString()),
}), }),
], ],
}) })
} }
function SysTray() { function SysTray() {
const items = systemtray.bind("items") const items = systemtray.bind("items")
.as(items => items.map(item => Widget.Button({ .as(items => items.map(item => Widget.Button({