README: prefer vicious in global space

We want to expose suspend, activate and force functions to external
shell scripts not just the Lua prompt.
This commit is contained in:
Adrian C. (anrxc) 2012-08-02 02:15:53 +02:00
parent c28bac5d71
commit eba6eb0573
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -35,7 +35,7 @@ your memory.
Then add the following to the top of your rc.lua:
local vicious = require("vicious")
vicious = require("vicious")
Once you create a widget (a textbox, graph or a progressbar) call
vicious.register() to register it with Vicious:

View File

@ -13,7 +13,7 @@ To use contrib widgets uncomment the line that loads them in
init.lua. Or you can load them in your rc.lua after you require
Vicious:
local vicious = require("vicious")
vicious = require("vicious")
vicious.contrib = require("vicious.contrib")