Don't multiply battery percentages by 100, vicious already returns percent
This commit is contained in:
parent
34c291256a
commit
3de5c18e15
|
@ -211,7 +211,7 @@ function widgets.battery(s)
|
||||||
widget.background_color = beautiful.bg_focus
|
widget.background_color = beautiful.bg_focus
|
||||||
end
|
end
|
||||||
widget.overlay.markup = percentage_overlay(
|
widget.overlay.markup = percentage_overlay(
|
||||||
args[2] * 100, beautiful.bg_normal, args[1] .. " "
|
args[2], beautiful.bg_normal, args[1] .. " "
|
||||||
)
|
)
|
||||||
return args[2]
|
return args[2]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue