diff --git a/conf-example.lua b/conf-example.lua index 28e1ed7..9f27a28 100755 --- a/conf-example.lua +++ b/conf-example.lua @@ -42,9 +42,6 @@ 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" -- Bar size in dpi diff --git a/desktop/widgets/tasklist.lua b/desktop/widgets/tasklist.lua index 97ae7c1..31e62ee 100755 --- a/desktop/widgets/tasklist.lua +++ b/desktop/widgets/tasklist.lua @@ -58,9 +58,14 @@ tasklist.make = function(screen) { { { - id = "clienticon", - widget = awful.widget.clienticon, - forced_width = conf.clienticon_width + widget = wibox.container.place, + halign = "center", + valign = "bottom", + fill_vertical = true, + { + id = "clienticon", + widget = awful.widget.clienticon, + }, }, margins = beautiful.dpi(3), widget = wibox.container.margin