diff --git a/widget/tabbar/modern.lua b/widget/tabbar/modern.lua index c7865e9..6968fe2 100644 --- a/widget/tabbar/modern.lua +++ b/widget/tabbar/modern.lua @@ -120,29 +120,29 @@ local function create(c, focused_bool, buttons) { tab_content, bg = bg_temp, - shape = helpers.prrect(border_radius, true, true, false, false), + shape = helpers.shape.prrect(border_radius, true, true, false, false), widget = wibox.container.background }, top = dpi(8), widget = wibox.container.margin } - left_shape = helpers.prrect(border_radius, false, false, true, false) - right_shape = helpers.prrect(border_radius, false, false, false, true) + left_shape = helpers.shape.prrect(border_radius, false, false, true, false) + right_shape = helpers.shape.prrect(border_radius, false, false, false, true) else main_content = wibox.widget { { tab_content, bg = bg_temp, - shape = helpers.prrect(border_radius, false, false, true, true), + shape = helpers.shape.prrect(border_radius, false, false, true, true), widget = wibox.container.background }, bottom = dpi(8), widget = wibox.container.margin } - left_shape = helpers.prrect(border_radius, false, true, false, false) - right_shape = helpers.prrect(border_radius, true, false, false, false) + left_shape = helpers.shape.prrect(border_radius, false, true, false, false) + right_shape = helpers.shape.prrect(border_radius, true, false, false, false) end local wid_temp = wibox.widget({