aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2019-08-14 17:59:44 -0400
committertdro <tdro@users.noreply.github.com>2019-08-14 17:59:44 -0400
commitc9538a55ada14622707fa277421b0c16eab58117 (patch)
treef9eaa2ada1e74ed6cd2e18cda75c99cc4271fe93 /.config/awesome
parent82146072e890649a68587c77656623dbc9548f21 (diff)
downloaddotfiles-c9538a55ada14622707fa277421b0c16eab58117.tar.gz
dotfiles-c9538a55ada14622707fa277421b0c16eab58117.tar.bz2
dotfiles-c9538a55ada14622707fa277421b0c16eab58117.zip
.config/awesome/rc: Add LuaRocks call
Diffstat (limited to '.config/awesome')
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 2dde203..95963b9 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.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")
+
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")