lcpz / lain

Awesome WM complements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After updating to latest lain version, reshift stopped working (attempt to call a nil value)

finex opened this issue · comments

Output of awesome -v:

awesome v4.3 (Too long)
 • Compiled against Lua 5.3.5 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: 0.9.2

Output of lua -v:

Lua 5.4.1  Copyright (C) 1994-2020 Lua.org, PUC-Rio

Actual behaviour:
I've setup redshift widget using the wiki instructions. It worked fine until latest update.
When awesome starts I've the following error:

/usr/share/lua/5.3/lain/widget/contrib/redshift.lua:50: attempt to call a nil value (method 'buttons')

stack traceback:
  /usr/share/lua/5.3/lain/widget/contrib/redshift.lua:50: in function 'lain.widget.contrib.redshift.attach'

This happened to me too. I had to disable redshift widget for now.

Sorry guys, I forgot to update the wiki yesterday. It is done now.

You have to use the dot instead of the colon to call the functions.