X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/430e70670c3f0a38c1c300273784096aeb8728cd..f53ae25b0c4e9c6d78d30ead1f1f13e34dce187e:/layout/termfair.lua?ds=inline diff --git a/layout/termfair.lua b/layout/termfair.lua index ec127e2..6d24460 100644 --- a/layout/termfair.lua +++ b/layout/termfair.lua @@ -9,11 +9,11 @@ --]] -local tag = require("awful.tag") -local math = { ceil = math.ceil, - floor = math.floor, - max = math.max } -local tonumber = tonumber +local tag = require("awful.tag") +local math = { ceil = math.ceil, + floor = math.floor, + max = math.max } +local tonumber = tonumber local termfair = { name = "termfair" } termfair.center = { name = "centerfair" } @@ -26,7 +26,7 @@ local function do_fair(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 if orientation == "west" then -- Layout with fixed number of vertical columns (read from nmaster).