REVERSE CORNERS IN TABS YESS!!!!

This commit is contained in:
Gokul Swaminathan 2020-11-25 16:42:05 -08:00
parent 6b608cd75a
commit 3987d8abe8
1 changed files with 44 additions and 9 deletions

View File

@ -128,6 +128,24 @@ local function create(c, focused_bool, buttons)
local wid_temp = wibox.widget({ local wid_temp = wibox.widget({
buttons = buttons, buttons = buttons,
{
{
{
bg = bg_normal,
shape = helpers.prrect(border_radius, false, false, true,
false),
widget = wibox.container.background
},
bg = bg_temp,
shape = gears.rectangle,
widget = wibox.container.background
},
width = 10,
height = 40,
strategy = "exact",
layout = wibox.layout.constraint
},
{
{ {
tab_content, tab_content,
bg = bg_temp, bg = bg_temp,
@ -135,10 +153,27 @@ local function create(c, focused_bool, buttons)
widget = wibox.container.background widget = wibox.container.background
}, },
top = dpi(8), top = dpi(8),
left = dpi(5),
right = dpi(5),
bottom = dpi(0),
widget = wibox.container.margin widget = wibox.container.margin
},
{
{
{
bg = bg_normal,
shape = helpers.prrect(border_radius, false, false, false,
true),
widget = wibox.container.background
},
bg = bg_temp,
shape = gears.rectangle,
widget = wibox.container.background
},
width = 10,
height = 40,
strategy = "exact",
layout = wibox.layout.constraint
},
layout = wibox.layout.align.horizontal
}) })
return wid_temp return wid_temp
end end