aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua28
1 files changed, 12 insertions, 16 deletions
diff --git a/init.lua b/init.lua
index c45231f..72457fe 100644
--- a/init.lua
+++ b/init.lua
@@ -7,25 +7,21 @@
-----------------------------------------------------
-- {{{ Grab environment
-require("awful")
-require("vicious.helpers")
-
-local type = type
-local pairs = pairs
-local awful = awful
+local awful = require("awful")
+local helpers = require("vicious.helpers")
local tonumber = tonumber
-local os = { time = os.time }
-local table = {
- insert = table.insert,
- remove = table.remove
-}
-
--- Grab C API
-local capi = {
- hooks = hooks,
- widget = widget,
+local type = type
+local pairs = pairs
+local os = { time = os.time }
+local capi = {
+ hooks = hooks,
+ widget = widget,
awesome = awesome,
}
+local table = {
+ insert = table.insert,
+ remove = table.remove
+}
-- }}}