From 1d789a6449798df6e11fdb9c7c86887ee80e6647 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 5 Aug 2024 05:15:51 +0400 Subject: [PATCH] asuefiwehfo --- config/ags/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ags/config.js b/config/ags/config.js index b55ce1aa..9e01677c 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -122,7 +122,7 @@ function Volume() { function BatteryLabel() { - const value = battery.percent(); + const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0) // const icon = battery.bind("percent").as(p => // `battery-level-${Math.floor(p / 10) * 10}-symbolic`)