Commit Graph

4 Commits

Author SHA1 Message Date
Adrian C. (anrxc) e1c7c4772a os: change os.getenv init to allow standalone usage of os widget
Test case:
lua> foo = require("vicious.widgets.os")
lua> print(foo()[1])
     /usr/share/lua/5.1/vicious/widgets/os.lua:66: attempt to call
     field 'getenv' (a nil value)
2012-06-25 00:39:23 +02:00
Arvydas Sidorenko 41cc2c0e27 Ported vicious.widgets module to lua 5.2
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:26:31 +02:00
Adrian C. (anrxc) 4f86e28ec3 os: merge with entropy widget type
Operating System widget type now returns two additional values, 5th as
available system entropy and 6th as available entropy in percent.
2010-03-15 17:52:02 +01:00
Adrian C. (anrxc) 237470c8f4 API: transform widgets namespace table to a directory 2010-03-14 01:55:33 +01:00