From b7bfc2f663e3a240dfcff894530f777077ec403d Mon Sep 17 00:00:00 2001 From: Gokul Swaminathan Date: Tue, 24 Nov 2020 00:50:02 -0800 Subject: [PATCH] Made it so that the client icon shows on every tab --- widget/tabbar/modern.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/widget/tabbar/modern.lua b/widget/tabbar/modern.lua index c61ad55..78264d2 100644 --- a/widget/tabbar/modern.lua +++ b/widget/tabbar/modern.lua @@ -75,7 +75,19 @@ local function create(c, focused_bool, buttons) "" .. title_temp .. "" end) - local tab_content = text_temp + local tab_content = wibox.widget { + { + awful.widget.clienticon(c), + top = dpi(10), + left = dpi(15), + bottom = dpi(10), + widget = wibox.container.margin + }, + text_temp, + nill, + expand = "none", + layout = wibox.layout.align.horizontal + } local close = create_title_button(c, close_color, bg_normal) close:connect_signal("button::press", function() c:kill() end)