From 4cf2505e50034eeb788471e1b305a1764b577ae5 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 5 Aug 2024 03:27:17 +0400 Subject: [PATCH] maybe this will fix it --- config/ags/config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/ags/config.js b/config/ags/config.js index 3a0c6421..dcb0e3f9 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -123,14 +123,14 @@ function Volume() { function BatteryLabel() { 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`) + // const icon = battery.bind("percent").as(p => + // `battery-level-${Math.floor(p / 10) * 10}-symbolic`) return Widget.Box({ class_name: "battery", visible: battery.bind("available"), children: [ - Widget.Icon({ icon }), + // Widget.Icon({ icon }), Widget.LevelBar({ widthRequest: 140, vpack: "center",