X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/430e70670c3f0a38c1c300273784096aeb8728cd..75b19142c160825b0f5ce25feea7eea9970844c6:/layout/centerwork.lua diff --git a/layout/centerwork.lua b/layout/centerwork.lua index ce3d9e8..8bcbf60 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 = {}