tabbar: Fixed tabbar_disable var (#184)

This commit is contained in:
Emily 2022-11-05 20:05:38 +01:00 committed by GitHub
parent 70c894e58b
commit 5995a7f4b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -242,13 +242,15 @@ tabbed.update_tabbar = function(tabobj)
flexlist:add(wid_temp) flexlist:add(wid_temp)
end end
-- add tabbar to each tabbed client (clients will be hided anyway) -- add tabbar to each tabbed client (clients will be hided anyway)
for _, c in ipairs(tabobj.clients) do if not beautiful.tabbar_disable then
local titlebar = awful.titlebar(c, { for _, c in ipairs(tabobj.clients) do
bg = bar.bg_normal, local titlebar = awful.titlebar(c, {
size = bar.size, bg = bar.bg_normal,
position = bar.position, size = bar.size,
}) position = bar.position,
titlebar:setup({ layout = wibox.layout.flex.horizontal, flexlist }) })
titlebar:setup({ layout = wibox.layout.flex.horizontal, flexlist })
end
end end
end end