diff --git a/audiowheel b/audiowheel deleted file mode 160000 index 3636e4b..0000000 --- a/audiowheel +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3636e4b51cf1ebec8ec25049da3a1058d0b046e8 diff --git a/handy b/handy deleted file mode 160000 index 6f6d7bf..0000000 --- a/handy +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6f6d7bfdb37c6dbcd9f97a5c2f4347b8c3b1a65d diff --git a/rc.lua b/rc.lua index dc54cdc..905e911 100644 --- a/rc.lua +++ b/rc.lua @@ -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") -- }}} diff --git a/widgets.lua b/widgets.lua index ac8f0e1..eb42a7e 100644 --- a/widgets.lua +++ b/widgets.lua @@ -39,7 +39,7 @@ function add_bar(s, position, direction, first, second) position = position, screen = s, opacity = 0.6, - width = math.floor(s.dpi / 5) + width = math.floor(s.dpi / 5), }) newbar:setup {