aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 00:21:15 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 00:21:15 +0200
commit724366c038777122e292091b729e7d1e9d52c5cc (patch)
tree2d569662d042143b60d07efa98b0057d5f07d0aa /init.lua
parent643ecb02874fd477d68fe01f2d3dd053bf079669 (diff)
downloadvicious-legacy-724366c038777122e292091b729e7d1e9d52c5cc.tar.xz
Reworked some variables in entropy, load, mpd, net, init
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua17
1 files changed, 6 insertions, 11 deletions
diff --git a/init.lua b/init.lua
index f2f210a..3e8b654 100644
--- a/init.lua
+++ b/init.lua
@@ -7,21 +7,16 @@
-----------------------------------------------------
-- {{{ Grab environment
-require("awful")
-require("vicious.helpers")
-
-local type = type
+local type = type
local pairs = pairs
-local awful = awful
local tonumber = tonumber
-local os = { time = os.time }
+local helpers = require("vicious.helpers")
+local capi = { timer = timer }
+local os = { time = os.time }
local table = {
- insert = table.insert,
- remove = table.remove
+ insert = table.insert,
+ remove = table.remove
}
-
--- Grab C API
-local capi = { timer = timer }
-- }}}