X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/430e70670c3f0a38c1c300273784096aeb8728cd..ba91548161e39d383fe909a7d10ee56d2a5e5183:/layout/centerwork.lua diff --git a/layout/centerwork.lua b/layout/centerwork.lua index ce3d9e8..a79314e 100644 --- a/layout/centerwork.lua +++ b/layout/centerwork.lua @@ -10,9 +10,9 @@ --]] -local tag = require("awful.tag") -local tonumber = tonumber -local math = { floor = math.floor } +local tag = require("awful.tag") +local tonumber = tonumber +local math = { floor = math.floor } local centerwork = { name = "centerwork", @@ -27,7 +27,7 @@ local function do_centerwork(p, orientation) if #cls <= 0 then return end -- Useless gaps. - local useless_gap = tag.gap or 0 + local useless_gap = p.useless_gap or 0 local c = cls[1] local g = {}