On Sat, Feb 18, 2012 at 3:54 AM, Ignas Anikevicius
<[email protected]> wrote:
> I want to make a widget, which would have a menu appearing when clicking
> on the widget itself in the wibox. What would be the proper way of doing
> it, because if I try to execute the following inside the module, it
> errors out, by saying something about beautiful.
What exactly is the error?
[...]
> So this code doesn't work, if I put it inside a file on
>
> ~/.config/awesome/mywidget/init.lua
>
> and then import it to rc.lua via
>
> require("mywidget")
In your rc.lua, are you requiring it before require('beautiful') or
after? Does requiring before require('beautiful') help?
--
Anurag Priyam
--
To unsubscribe, send mail to [email protected].