X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/cfa0b7c3a6056ae43fc1bcf60a4d832e7dacd932..bb0430f513b01e67b275fdaa6ecbd3195e137ff9:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index 6f97887..f48715b 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -79,7 +79,30 @@ awful.screen.connect_for_each_screen(function(s) awful.button({ }, 4, function () awful.layout.inc( 1) end), awful.button({ }, 5, function () awful.layout.inc(-1) end))) -- Create a taglist widget - s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, taglist_buttons) + local theme = beautiful.get() + s.mytaglist = awful.widget.taglist{ + screen = s, + filter = awful.widget.taglist.filter.all, + buttons = taglist_buttons, + style = { + squares_resize = false + }, + widget_template = { + { + { + { + id = 'icon_role', + widget = wibox.widget.imagebox, + }, + layout = wibox.layout.fixed.horizontal, + }, + forced_width = theme.wibar_height, + widget = wibox.container.place, + }, + id = 'background_role', + widget = wibox.container.background, + }, + } -- Create a tasklist widget s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons)