From fe252a287c3537a4e031a6adf035789421ee7f45 Mon Sep 17 00:00:00 2001 From: Gokul Swaminathan Date: Wed, 25 Nov 2020 20:14:53 -0800 Subject: [PATCH] Took out more hard coded vars --- widget/tabbar/modern.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/tabbar/modern.lua b/widget/tabbar/modern.lua index b07ec0d..2f9076e 100644 --- a/widget/tabbar/modern.lua +++ b/widget/tabbar/modern.lua @@ -140,7 +140,7 @@ local function create(c, focused_bool, buttons) shape = gears.rectangle, widget = wibox.container.background }, - width = dpi(10), + width = border_radius + (border_radius / 2), height = size, strategy = "exact", layout = wibox.layout.constraint @@ -167,7 +167,7 @@ local function create(c, focused_bool, buttons) shape = gears.rectangle, widget = wibox.container.background }, - width = dpi(10), + width = border_radius + (border_radius / 2), height = size, strategy = "exact", layout = wibox.layout.constraint