Centered and autosize tasklist icons
parent
0ac767d534
commit
adef24f08e
|
@ -42,9 +42,6 @@ conf.wallpaper = {
|
||||||
conf.battery_enabled = false
|
conf.battery_enabled = false
|
||||||
conf.backlight_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
|
-- The position of the bar on each screen
|
||||||
conf.bar_position = "bottom"
|
conf.bar_position = "bottom"
|
||||||
-- Bar size in dpi
|
-- Bar size in dpi
|
||||||
|
|
|
@ -58,9 +58,14 @@ tasklist.make = function(screen)
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
id = "clienticon",
|
widget = wibox.container.place,
|
||||||
widget = awful.widget.clienticon,
|
halign = "center",
|
||||||
forced_width = conf.clienticon_width
|
valign = "bottom",
|
||||||
|
fill_vertical = true,
|
||||||
|
{
|
||||||
|
id = "clienticon",
|
||||||
|
widget = awful.widget.clienticon,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
margins = beautiful.dpi(3),
|
margins = beautiful.dpi(3),
|
||||||
widget = wibox.container.margin
|
widget = wibox.container.margin
|
||||||
|
|
Loading…
Reference in New Issue