X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5c2cf9e8bf6e29f72071969a6f59a9cbe5ceb6f7..cfa0b7c3a6056ae43fc1bcf60a4d832e7dacd932:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index 3d73e11..6f97887 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -23,7 +23,7 @@ end -- Wibox {{{1 -- Create a wibox for each screen and add it -local taglist_buttons = awful.util.table.join( +local taglist_buttons = gears.table.join( awful.button({ }, 1, function(t) t:view_only() end), awful.button({ modkey }, 1, function(t) if client.focus then @@ -40,7 +40,7 @@ local taglist_buttons = awful.util.table.join( awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end) ) -local tasklist_buttons = awful.util.table.join( +local tasklist_buttons = gears.table.join( awful.button({ }, 1, function (c) if c == client.focus then c.minimized = true @@ -73,7 +73,7 @@ awful.screen.connect_for_each_screen(function(s) -- Create an imagebox widget which will contains an icon indicating which layout we're using. -- We need one layoutbox per screen. s.mylayoutbox = awful.widget.layoutbox(s) - s.mylayoutbox:buttons(awful.util.table.join( + s.mylayoutbox:buttons(gears.table.join( awful.button({ }, 1, function () awful.layout.inc( 1) end), awful.button({ }, 3, function () awful.layout.inc(-1) end), awful.button({ }, 4, function () awful.layout.inc( 1) end),