summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-18 02:33:21 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-18 02:33:21 +0200
commitac9c2f45592980138cb632c49f6c213c67a8fef9 (patch)
tree70017e55a5f1e2fac56b66763d095acb7f4017f8 /rc.lua
parentf5bf8653ac1c7b83ba732ae1d25fea4b8289d139 (diff)
downloadawesome-configs-ac9c2f45592980138cb632c49f6c213c67a8fef9.tar.xz
rc.lua: update the way vicious is loaded
Vicious was ported to Lua 5.2, and is now loaded differently as a module to remain compatible with Lua 5.1 installations.
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.lua b/rc.lua
index b5a1573..4bd2b92 100644
--- a/rc.lua
+++ b/rc.lua
@@ -15,8 +15,8 @@ require("awful")
require("awful.rules")
require("awful.autofocus")
-- User libraries
-require("vicious")
-require("scratch")
+local vicious = require("vicious")
+local scratch = require("scratch")
-- }}}