"-" symbol changed in the vicious.widgets.bat return value.
This commit is contained in:
parent
82c0d34ed3
commit
e0d612f927
2
wi.lua
2
wi.lua
|
@ -20,7 +20,7 @@ vicious.register(batpct, vicious.widgets.bat, function(widget, args)
|
||||||
bat_charge = args[2]
|
bat_charge = args[2]
|
||||||
bat_time = args[3]
|
bat_time = args[3]
|
||||||
|
|
||||||
if args[1] == "-" then
|
if args[1] == "−" then
|
||||||
if bat_charge > 70 then
|
if bat_charge > 70 then
|
||||||
baticon:set_image(beautiful.widget_batfull)
|
baticon:set_image(beautiful.widget_batfull)
|
||||||
elseif bat_charge > 30 then
|
elseif bat_charge > 30 then
|
||||||
|
|
Loading…
Reference in New Issue