From 01f0b448f9ba33ccbd29e0119169e78bb96446f4 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 8 May 2026 19:02:50 +0200 Subject: [PATCH] Fix battery --- hyprscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprscript b/hyprscript index 28f3384..baae722 100755 --- a/hyprscript +++ b/hyprscript @@ -247,7 +247,7 @@ def monitor_stats(): else: battery_class = None - battery_text = "% 4.0f" % battery.percent if battery_percent <= 99.95 else " 100" + battery_text = "% 4.0f" % battery.percent if battery.percent <= 99.95 else " 100" battery_json = f', "class": "{battery_class}"' if battery_class else '' battery_json = '{"text": "' + battery_icon + ' ' + battery_text + '%"' + battery_json + '}'