Skip to content

Commit

Permalink
tabbar: Fixed tabbar_disable var (BlingCorp#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aproxia-dev authored Nov 5, 2022
1 parent 70c894e commit 5995a7f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions module/tabbed.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,15 @@ tabbed.update_tabbar = function(tabobj)
flexlist:add(wid_temp)
end
-- add tabbar to each tabbed client (clients will be hided anyway)
for _, c in ipairs(tabobj.clients) do
local titlebar = awful.titlebar(c, {
bg = bar.bg_normal,
size = bar.size,
position = bar.position,
})
titlebar:setup({ layout = wibox.layout.flex.horizontal, flexlist })
if not beautiful.tabbar_disable then
for _, c in ipairs(tabobj.clients) do
local titlebar = awful.titlebar(c, {
bg = bar.bg_normal,
size = bar.size,
position = bar.position,
})
titlebar:setup({ layout = wibox.layout.flex.horizontal, flexlist })
end
end
end

Expand Down

0 comments on commit 5995a7f

Please sign in to comment.