summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--batteryarc-widget/batteryarc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/batteryarc-widget/batteryarc.lua b/batteryarc-widget/batteryarc.lua
index 517401b..6d75be6 100644
--- a/batteryarc-widget/batteryarc.lua
+++ b/batteryarc-widget/batteryarc.lua
@@ -84,7 +84,7 @@ watch("acpi -i", 10,
mirrored_text_with_background.fg = beautiful.widget_main_color
end
- text.text = charge
+ text.text = string.format('%d', charge)
if charge < 15 then
batteryarc.colors = { beautiful.widget_red }