From 965d7c1b47fcd4519d09f46319846b56fe735ca9 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Wed, 26 Dec 2018 22:01:05 -0500 Subject: [PATCH] rc.lua: Use the new API to set the client keys --- awesomerc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awesomerc.lua b/awesomerc.lua index d71e6d31..918318bf 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -330,7 +330,7 @@ globalkeys = gears.table.join( ) -- @DOC_CLIENT_KEYBINDINGS@ -clientkeys = gears.table.join( +clientkeys = { awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen @@ -371,8 +371,8 @@ clientkeys = gears.table.join( c.maximized_horizontal = not c.maximized_horizontal c:raise() end , - {description = "(un)maximize horizontally", group = "client"}) -) + {description = "(un)maximize horizontally", group = "client"}), +} -- @DOC_NUMBER_KEYBINDINGS@ -- Bind all key numbers to tags.