diff --git a/wi.lua b/wi.lua index 27f159e..643e921 100644 --- a/wi.lua +++ b/wi.lua @@ -20,7 +20,7 @@ vicious.register(batpct, vicious.widgets.bat, function(widget, args) bat_charge = args[2] bat_time = args[3] - if args[1] == "-" then + if args[1] == "−" then if bat_charge > 70 then baticon:set_image(beautiful.widget_batfull) elseif bat_charge > 30 then