widgets: fix battery widget (remove extra label)

This commit is contained in:
Vincent Bernat 2012-07-29 17:33:46 +02:00
parent f7d2280d22
commit bb6ad3907e

View file

@ -53,10 +53,7 @@ if config.hostname == "guybrush" then
batwidget.lastwarn = current
end
end
return string.format(
'<span color="' .. beautiful.fg_widget_label ..
'">Bat: </span>' ..
'<span color="' .. color ..
return string.format('<span color="' .. color ..
'">%s%d%%</span>', args[1], current)
end,
61, "BAT1")