diff --git a/conf-example.lua b/conf-example.lua index aa9cc59..28e1ed7 100755 --- a/conf-example.lua +++ b/conf-example.lua @@ -42,6 +42,8 @@ conf.wallpaper = { conf.battery_enabled = false conf.backlight_enabled = false +-- Fixed width of all clienticons in tasklist +conf.clienticon_width = 50 -- The position of the bar on each screen conf.bar_position = "bottom" diff --git a/desktop/widgets/tasklist.lua b/desktop/widgets/tasklist.lua index 4809343..97ae7c1 100755 --- a/desktop/widgets/tasklist.lua +++ b/desktop/widgets/tasklist.lua @@ -60,6 +60,7 @@ tasklist.make = function(screen) { id = "clienticon", widget = awful.widget.clienticon, + forced_width = conf.clienticon_width }, margins = beautiful.dpi(3), widget = wibox.container.margin @@ -91,7 +92,7 @@ tasklist.make = function(screen) 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.transparent + self:get_children_by_id("top_tab")[1].bg = beautiful.color.bar.hover_bg --beautiful.color.transparent end end) end, @@ -108,7 +109,7 @@ tasklist.make = function(screen) 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.transparent + self:get_children_by_id("top_tab")[1].bg = beautiful.color.bar.hover_bg --beautiful.color.transparent end end, layout = wibox.layout.align.vertical,