fenty cart

This commit is contained in:
Sakooooo 2024-08-05 05:14:16 +04:00
parent 10e36bcce0
commit 9de4979878
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -122,12 +122,10 @@ function Volume() {
function BatteryLabel() {
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0)
const value = battery.percent();
// const icon = battery.bind("percent").as(p =>
// `battery-level-${Math.floor(p / 10) * 10}-symbolic`)
console.log(value);
return Widget.Box({
class_name: "battery",
visible: battery.bind("available"),