Fixed clienticon width and added always-visible top bar
(makes sure all clients are visible, even those without an icon)master
parent
7cc3903efe
commit
a6c6ae8651
|
@ -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"
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue