From 9ffba7262070c96af60e3c9517c4567c8e684fe3 Mon Sep 17 00:00:00 2001 From: don philipe Date: Sun, 3 Jul 2022 21:00:45 +0200 Subject: [PATCH] Fix battery low notification text --- battery.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/battery.lua b/battery.lua index c2f74e0..7fe2774 100644 --- a/battery.lua +++ b/battery.lua @@ -74,7 +74,7 @@ gears.timer { destroy = function () low_notification = false end, - text = tostring(err) }) + text = tostring(percent) .. "%" }) low_notification = show ~= nil end end