From 3b45d44586d15d42faa7da29dbe2ce58572960c2 Mon Sep 17 00:00:00 2001 From: Gokul Swaminathan Date: Wed, 25 Nov 2020 17:52:34 -0800 Subject: [PATCH] Took out a magic number Added dpi stuff changed reversecorner height to tabbar height var --- widget/tabbar/modern.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/widget/tabbar/modern.lua b/widget/tabbar/modern.lua index af312e7..b07ec0d 100644 --- a/widget/tabbar/modern.lua +++ b/widget/tabbar/modern.lua @@ -140,8 +140,8 @@ local function create(c, focused_bool, buttons) shape = gears.rectangle, widget = wibox.container.background }, - width = 10, - height = 40, + width = dpi(10), + height = size, strategy = "exact", layout = wibox.layout.constraint }, @@ -167,8 +167,8 @@ local function create(c, focused_bool, buttons) shape = gears.rectangle, widget = wibox.container.background }, - width = 10, - height = 40, + width = dpi(10), + height = size, strategy = "exact", layout = wibox.layout.constraint },