Add luarocks loader to rc.lua

This commit is contained in:
Alexander Gehrke 2022-08-28 01:00:55 +02:00
parent 763baa8e68
commit 7d74396048
4 changed files with 5 additions and 3 deletions

4
rc.lua
View file

@ -1,3 +1,6 @@
-- 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")
-- libraries {{{
local awful = require("awful")
require("awful.autofocus")
@ -5,6 +8,7 @@ beautiful = require("beautiful")
naughty = require("naughty")
conf = require("localconf")
require("errors")
gears = require("gears")
inspect = require("lib.inspect")
wibox = require("wibox")
-- }}}