From 9a508f94c7d2c4eaa4602b3cef31aca5c8c83615 Mon Sep 17 00:00:00 2001 From: josiah Date: Sat, 25 Jan 2020 21:06:21 +0000 Subject: [PATCH] Move from mod + to Cntrl/Alt + to be more similar to macOS config. --- .config/awesome/rc.lua | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 36feb2a..e976b16 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -341,34 +341,21 @@ end)) -- clientkeys clientkeys = gears.table.join( - awful.key({ modkey, }, "f", - function (c) - c.fullscreen = not c.fullscreen - c:raise() - end, - {description = "toggle fullscreen", group = "client"}), awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end, {description = "close", group = "client"}), awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle , {description = "toggle floating", group = "client"}), awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end, {description = "move to master", group = "client"}), - awful.key({ modkey, }, "o", function (c) c:move_to_screen() end, + awful.key({ "Mod1", "Control" }, "o", function (c) c:move_to_screen() end, {description = "move to screen", group = "client"}), awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end, {description = "toggle keep on top", group = "client"}), - awful.key({ modkey, }, "n", - function (c) - -- The client currently has the input focus, so it cannot be - -- minimized, since minimized clients can't have the focus. - c.minimized = true - end , - {description = "minimize", group = "client"}), - awful.key({ modkey, }, "m", - function (c) - c.maximized = not c.maximized - c:raise() - end , + awful.key({ "Mod1", "Control"}, "f", + function (c) + c.maximized = not c.maximized + c:raise() + end , {description = "(un)maximize", group = "client"}), awful.key({ modkey, "Control" }, "m", function (c)