aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-08-02 02:15:53 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-08-02 02:15:53 +0200
commiteba6eb05737aefd75f45444b85809ff7a26db2ab (patch)
tree0f4df596738123586ad33b12107819118b183222
parentc28bac5d71a2f315e309f41822abb33c3f38db17 (diff)
downloadvicious-legacy-eba6eb05737aefd75f45444b85809ff7a26db2ab.tar.xz
README: prefer vicious in global space
We want to expose suspend, activate and force functions to external shell scripts not just the Lua prompt.
-rw-r--r--README2
-rw-r--r--contrib/README2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 6cae001..3a92628 100644
--- a/README
+++ b/README
@@ -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:
diff --git a/contrib/README b/contrib/README
index 0c1e55b..4be896b 100644
--- a/contrib/README
+++ b/contrib/README
@@ -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")