transparent mimized windows

This commit is contained in:
Thomas Avé 2022-07-25 18:57:14 +02:00
parent 1e3cda014d
commit 8b817e1f19
2 changed files with 2 additions and 3 deletions

View File

@ -73,7 +73,6 @@ theme.tasklist_fg_normal = theme.fg_normal
-- Panel Sizing -- Panel Sizing
theme.top_panel_height = dpi(30) theme.top_panel_height = dpi(30)
theme.top_panel_powerline = "#002F5F" theme.top_panel_powerline = "#002F5F"
theme.top_panel_minimized = "#12151c"
-- Notification Sizing -- Notification Sizing
theme.notification_max_width = dpi(350) theme.notification_max_width = dpi(350)

View File

@ -87,11 +87,11 @@ local function list_update(w, buttons, label, data, objects)
if (index % 2 == 0) then if (index % 2 == 0) then
local end_color = (count == index or objects[index+1].minimized) and "" or theme.top_panel_powerline local end_color = (count == index or objects[index+1].minimized) and "" or theme.top_panel_powerline
local main_color = o.minimized and theme.top_panel_minimized or theme.bg_normal local main_color = o.minimized and "" or theme.bg_normal
bgb:set_widget(pl(ll, main_color, end_color, true)) bgb:set_widget(pl(ll, main_color, end_color, true))
else else
local end_color = (count == index or objects[index+1].minimized) and "" or theme.bg_normal local end_color = (count == index or objects[index+1].minimized) and "" or theme.bg_normal
local main_color = o.minimized and theme.top_panel_minimized or theme.top_panel_powerline local main_color = o.minimized and "" or theme.top_panel_powerline
bgb:set_widget(pl(ll, main_color, end_color, true)) bgb:set_widget(pl(ll, main_color, end_color, true))
end end