X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4919f4ada59a938432d8a385a6ef29a704cea3da..82766de14737919c4d1eb3b27333a6ef0b80e6d2:/layout/uselesstile.lua diff --git a/layout/uselesstile.lua b/layout/uselesstile.lua index dfbaf68..65ce9b5 100644 --- a/layout/uselesstile.lua +++ b/layout/uselesstile.lua @@ -9,7 +9,6 @@ --]] -local naughty = require("naughty") local tag = require("awful.tag") local beautiful = require("beautiful") local ipairs = ipairs @@ -81,8 +80,8 @@ local function tile_group(cls, wa, orientation, fact, group) local i = c - group.first +1 geom[width] = size - global_border - (bw * 2) geom[height] = math.floor(unused * fact[i] / total_fact) - (bw * 2) - geom[x] = group.coord + global_border + (useless_gap / 2) - geom[y] = coord + global_border + (useless_gap / 2) + geom[x] = group.coord + global_border + geom[y] = coord + global_border coord = coord + geom[height] unused = unused - geom[height]