aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
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 }
-- }}}