-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

k, thx.

As I am actually running awesome, I wonder what would be the expected
procedure to extend awesome's functionality with a script?

Would I have to write some kind of widget which was then called in the
rc.lua? In other words, how would I preferably make awesome call my
script so that the script inherits awesome's initialization?

Thanks alot
dtk


Konstantin Stepanov wrote:
> AFAIK, you can't run most of awesome lua libs (like awful & naughty)
> without awesome itself, as awesome initializes a number of C-based
> interfaces for Lua code (like client, screen & a lot of other awesome
> specific C-objects are imported into Lua land).
> You can't emulate them without running lua code out of awesome
> environment.
> 
> On Sat, Oct 24, 2009 at 03:46:02AM +0300, Daniel Kreischer wrote:
>> d...@minibox:/media/devel/funked$ ./funked.lua
>> /usr/bin/lua: /usr/share/awesome/lib/naughty.lua:106: attempt to index
>> field 'screen' (a nil value)
>> stack traceback:
>>      /usr/share/awesome/lib/naughty.lua:106: in main chunk
>>      [C]: in function 'require'
>>      ./funked.lua:8: in main chunk
>>      [C]: ?


- --
Please use my new PGP key to verify the signature of this mail
and encrypt mails for me:

pub   4096R/5E65930D 2009-04-27 [expires: 2010-04-27]
fpr   524B DC51 1D19 9943 1963  D00B 7AF6 BB87 5E65 930D

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBCgAGBQJK4svdAAoJEHr2u4deZZMN/xwQALQnqWlW6Cr2x1bW4NE8DL0J
0YO3rhv0xU4Y784fq53uNbptI5FRB/YwpgLOlACpfzetNLmxvvK4VfpO5oaDPnay
R4u5trXVSSNyA5gJCzHhmxTLFmPlnGkMa7L2cLXMj7xAfqQmttGDABaOeXwjGWlr
nIOWDG4ly/pG5GPXIYwg/D0MV92IQJlvSPxBLOSZgEQEThLE1XXtltH5sac0NcNJ
DDWfJqKYz7GEdtT6tnV2li0B1YPQQlng7y0uGFpD6xLryJbMm+tR2y8cW2gUNMrw
jD57Ts4H9oifHXnwz50Zs3kkzOfynYLQY26uk/OMrCrEW7g674YTUeSeDcC12MCX
SjzL1kqDsThWQsZaS+RVLdJwPSe5M+OwKsROW/cY/ioPtLh429h6UfRSNYjotJzm
9JWYuiLOPNfaD9OgDcALB8uJ9aJV7AnmwTAV1YuCD34MryEXXyWwFdKlJnbPfFIi
WqpgZoHuX2dsUs5GBxcAKxpnXUDSlL3VfB36mK1cj6yHRI4yiVZKNg6VdC8JtHMY
mGZNHU2Tp6UTzxbCxx7+rOqSJ4kCE3/fDkvRk74HAfR/mOWl9UxpbUIwkgXgDW5x
SL/8Hi0a4GvX68hD3n9vzeOFvZXtHxp7cCru+X9XPJbE03w8PMO+gI0QouQFvl6d
WBOzwzQsXIXpRPDZ3zpW
=VfNH
-----END PGP SIGNATURE-----

-- 
To unsubscribe, send mail to [email protected].

Reply via email to