From 7e3c8076fb6fc8d0384ff899407c1894a986ae3b Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Mon, 31 Aug 2020 16:48:49 +0800 Subject: [PATCH] Changed run binding to use "Menubar" using keycode. --- .config/awesome/rc.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index feecf51..9352300 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -317,8 +317,9 @@ globalkeys = gears.table.join( {description = "restore minimized", group = "client"}), -- Prompt - awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end, - {description = "run prompt", group = "launcher"}), + -- Unbound to favour "Menu bar boune below. + --awful.key({ modkey }, "#27", function () awful.screen.focused().mypromptbox:run() end, + -- {description = "run prompt", group = "launcher"}), awful.key({ modkey, "Shift" }, "r", function () @@ -331,7 +332,8 @@ globalkeys = gears.table.join( end, {description = "lua execute prompt", group = "awesome"}), -- Menubar - awful.key({ modkey }, "p", function() menubar.show() end, + -- Bound to keycode 27, which is 'r' on qwerty for consistency across layouts. + awful.key({ modkey }, "#27", function() menubar.show() end, {description = "show the menubar", group = "launcher"}), -- Custom bindings