X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/430e70670c3f0a38c1c300273784096aeb8728cd..03fdf984e93d81ed95945db51c83baf6c23e89e8:/layout/centerwork.lua?ds=inline 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 = {}