From bb6ad3907ec3ca7a755e963cc9b5bc86e338d5d1 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 29 Jul 2012 17:33:46 +0200 Subject: [PATCH] widgets: fix battery widget (remove extra label) --- rc/widgets.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rc/widgets.lua b/rc/widgets.lua index 5e3fd8f..b3f8415 100644 --- a/rc/widgets.lua +++ b/rc/widgets.lua @@ -53,11 +53,8 @@ if config.hostname == "guybrush" then batwidget.lastwarn = current end end - return string.format( - 'Bat: ' .. - '%s %d%%', args[1], current) + return string.format('%s%d%%', args[1], current) end, 61, "BAT1") end