REVERSE CORNERS IN TABS YESS!!!!
This commit is contained in:
parent
6b608cd75a
commit
3987d8abe8
|
@ -129,16 +129,51 @@ local function create(c, focused_bool, buttons)
|
||||||
local wid_temp = wibox.widget({
|
local wid_temp = wibox.widget({
|
||||||
buttons = buttons,
|
buttons = buttons,
|
||||||
{
|
{
|
||||||
tab_content,
|
{
|
||||||
bg = bg_temp,
|
{
|
||||||
shape = helpers.prrect(border_radius, true, true, false, false),
|
bg = bg_normal,
|
||||||
widget = wibox.container.background
|
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
|
||||||
},
|
},
|
||||||
top = dpi(8),
|
{
|
||||||
left = dpi(5),
|
{
|
||||||
right = dpi(5),
|
tab_content,
|
||||||
bottom = dpi(0),
|
bg = bg_temp,
|
||||||
widget = wibox.container.margin
|
shape = helpers.prrect(border_radius, true, true, false, false),
|
||||||
|
widget = wibox.container.background
|
||||||
|
},
|
||||||
|
top = dpi(8),
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue