Made tasklist colors reasonable

master
Mark 2022-04-24 13:40:49 -07:00
parent adef24f08e
commit f9fb13ed40
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 5 additions and 5 deletions

View File

@ -84,7 +84,7 @@ tasklist.make = function(screen)
-- Change background when mouse is over widget -- Change background when mouse is over widget
self:connect_signal("mouse::enter", function(result) self:connect_signal("mouse::enter", function(result)
self:get_children_by_id("top_tab")[1].bg = "#2DA0DA" --self:get_children_by_id("top_tab")[1].bg = "#2DA0DA"
self:get_children_by_id("background")[1].bg = beautiful.color.bar.hover_bg self:get_children_by_id("background")[1].bg = beautiful.color.bar.hover_bg
end) end)
@ -95,9 +95,9 @@ tasklist.make = function(screen)
if c == client.focus then if c == client.focus then
self:get_children_by_id("top_tab")[1].bg = "#2DA0FF" self:get_children_by_id("top_tab")[1].bg = "#2DA0FF"
elseif c.minimized then elseif c.minimized then
self:get_children_by_id("top_tab")[1].bg = "#2DA0DA77"
else
self:get_children_by_id("top_tab")[1].bg = beautiful.color.bar.hover_bg --beautiful.color.transparent self:get_children_by_id("top_tab")[1].bg = beautiful.color.bar.hover_bg --beautiful.color.transparent
else
self:get_children_by_id("top_tab")[1].bg = "#2DA0DA77"
end end
end) end)
end, end,
@ -112,9 +112,9 @@ tasklist.make = function(screen)
if c == client.focus then if c == client.focus then
self:get_children_by_id("top_tab")[1].bg = "#2DA0DA" self:get_children_by_id("top_tab")[1].bg = "#2DA0DA"
elseif c.minimized then elseif c.minimized then
self:get_children_by_id("top_tab")[1].bg = "#2DA0DA77"
else
self:get_children_by_id("top_tab")[1].bg = beautiful.color.bar.hover_bg --beautiful.color.transparent self:get_children_by_id("top_tab")[1].bg = beautiful.color.bar.hover_bg --beautiful.color.transparent
else
self:get_children_by_id("top_tab")[1].bg = "#2DA0DA77"
end end
end, end,
layout = wibox.layout.align.vertical, layout = wibox.layout.align.vertical,