diff --git a/awesomerc.lua b/awesomerc.lua index 00d1b6031..5f310867f 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -1,3 +1,7 @@ +-- If LuaRocks is installed, make sure that packages installed through it are +-- found (e.g. lgi). If LuaRocks is not installed, do nothing. +pcall(require, "luarocks.loader") + -- @DOC_REQUIRE_SECTION@ -- Standard awesome library local gears = require("gears")