tabbar: Fixed tabbar_disable var (#184)
This commit is contained in:
parent
70c894e58b
commit
5995a7f4b1
|
@ -242,6 +242,7 @@ 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)
|
||||||
|
if not beautiful.tabbar_disable then
|
||||||
for _, c in ipairs(tabobj.clients) do
|
for _, c in ipairs(tabobj.clients) do
|
||||||
local titlebar = awful.titlebar(c, {
|
local titlebar = awful.titlebar(c, {
|
||||||
bg = bar.bg_normal,
|
bg = bar.bg_normal,
|
||||||
|
@ -251,6 +252,7 @@ tabbed.update_tabbar = function(tabobj)
|
||||||
titlebar:setup({ layout = wibox.layout.flex.horizontal, flexlist })
|
titlebar:setup({ layout = wibox.layout.flex.horizontal, flexlist })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
tabbed.init = function(c)
|
tabbed.init = function(c)
|
||||||
local tabobj = {}
|
local tabobj = {}
|
||||||
|
|
Loading…
Reference in New Issue