Fix #77
This commit is contained in:
parent
a1636558f5
commit
ed33b1dcf3
|
@ -37,7 +37,7 @@ local brightnessarc = wibox.widget {
|
|||
}
|
||||
|
||||
local update_widget = function(widget, stdout)
|
||||
local brightness_level = string.match(stdout, "(%d?%d?)")
|
||||
local brightness_level = string.match(stdout, "(%d?%d?%d?)")
|
||||
brightness_level = tonumber(string.format("% 3d", brightness_level))
|
||||
|
||||
widget.value = brightness_level / 100;
|
||||
|
|
Loading…
Reference in New Issue