From 0526ad8637e7f32567a7e0587b6178fc16c9ed63 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 8 Apr 2020 17:00:56 +0200 Subject: Replace awful.util.table with gears.table --- rc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index 06819e8..745e8df 100644 --- a/rc.lua +++ b/rc.lua @@ -79,7 +79,7 @@ for s in screen do -- Create an imagebox widget which will contains an icon indicating which layout we're using. local layoutbox = awful.widget.layoutbox(s) - layoutbox:buttons(awful.util.table.join( + layoutbox:buttons(gears.table.join( awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end), awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end), awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end), @@ -120,14 +120,14 @@ end -- }}} -- {{{ Mouse bindings -root.buttons(awful.util.table.join( +root.buttons(gears.table.join( awful.button({ }, 4, awful.tag.viewnext), awful.button({ }, 5, awful.tag.viewprev) )) -- }}} -clientbuttons = awful.util.table.join( +clientbuttons = gears.table.join( awful.button({ }, 1, function (c) client.focus = c; c:raise() end), awful.button({ commondefs.modkey }, 1, awful.mouse.client.move), awful.button({ commondefs.modkey }, 3, awful.mouse.client.resize)) -- cgit v1.2.3