-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 masterLoki wrote: > Hi there, > > I've been using awesome for a few weeks now and I can tell you all I > really like it. > > As for now, I'm working on a temperature widget for my laptop and Garoth > suggested me to turn it into an obvious module and I really liked to idea. > As for now the module is "complete" but I can't test it because when > trying to load it, awesome reports that it can't find the module. > > Here's what I've done so far: > > * Wrote the module > * Added my module to obvious' init.lua > * Added the widget to my rc.lua > > When run startx, it tells me it can't find the module, which is located > in obvious/temp_zone/ as all other widgets. Am I missing something?
Uhm, could you be so nice to show us something? For starters, the actual error message could be helpful and your lua code wouldn't hurt either (so that we can test ourselves). Perhaps you got the file name for require() wrong? Or the module() call does something weird. Or some other thingie is a little off. > Also, is there a way to pass parameters to the widget when calling? In general it should be possible, but atm I have no idea if obvious does anything "weird" which makes this not possible. Let's fix the other problem and then look at this one again. ;) Uli - -- "Do you know that books smell like nutmeg or some spice from a foreign land?" -- Faber in Fahrenheit 451 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEcBAEBCAAGBQJKVGZpAAoJECLkKOvLj8sGx0wH/iYX8N603/6sRLsJUDTk9aPf ROwWjWbtvpB1l7kWdpfscwYRRJ5nw/OJVAAmpZS/wnbTygIuSxEnYxIQt1TheQtt Vbc4KB49ZMR0tJq90m0Rpw0Poe30v+zeQObRITNlg2tZ7fcnEMX+4NrSsrYYdcSr K0ux3QaXzclde32d99vsTIrExs/5LmM+cpnM8VjaCK4yicjHv/NjnLoJed1Vdrtw twgAdl6YX+q2E0BecHrmm8eZ7JjsOo4auhFYOsGQGJO6Ni8pCjrOJn+4PeWBzbJv 2JmdlQmoRzdcPFAxWd8ekC53UHBlQfZfSAY9L6lpO9LhrUsIqe6TkYPrukwNInU= =qw13 -----END PGP SIGNATURE----- -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.