Open NicolasWebDev opened 2 years ago
Replacing the two function definitions of set_value with update_value seem to make the problem go away, and everything still works. I don't quite understand what is going on, though, because my lua knowledge is nonexistent.
Specifically changing
set_value = function(self, level)
self:set_value(level)
end,
to
update_value = function(self, level)
self:set_value(level)
end,
and
widget:set_value(brightness_level)
to
widget:update_value(brightness_level)
Using the default rc.lua, putting the widget in the wibar using
require("awesome-wm-widgets.brightness-widget.brightness")(),
, without any parameters, gives the following errors:I haven't been able to debug it further, could it be a problem with timers?
The widget still seems to be working. I'm on commit 3bb3d56c26ac3500aab33381af0cccebf6aaa05c.