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