Fix hotkey collision with super + space

This commit is contained in:
Alice Gaudon 2020-04-21 12:11:58 +02:00
parent eaccc4b0df
commit 755eb1acc4

View File

@ -356,7 +356,7 @@ hotkey.registerKeys(
awful.key({ config.keys.modkey }, "p", awful.key({ config.keys.modkey }, "p",
function() function()
local screen = awful.screen.focused() local screen = awful.screen.focused()
screen.mywibox.visible = not screen.mywibox.visible screen.mywibox.visible = not screen.mywibox.visible
end, end,
{ description = "hide status bar", group = "screen" })) { description = "hide status bar", group = "screen" }))
@ -424,9 +424,9 @@ hotkey.registerKeys(
{ description = "increase the number of columns", group = "layout" }), { description = "increase the number of columns", group = "layout" }),
awful.key({ config.keys.modkey, "Control" }, "l", function() awful.tag.incncol(-1, nil, true) end, awful.key({ config.keys.modkey, "Control" }, "l", function() awful.tag.incncol(-1, nil, true) end,
{ description = "decrease the number of columns", group = "layout" }), { description = "decrease the number of columns", group = "layout" }),
awful.key({ config.keys.modkey, }, "space", function() awful.layout.inc(1) end, awful.key({ config.keys.modkey, }, "v", function() awful.layout.inc(1) end,
{ description = "select next", group = "layout" }), { description = "select next", group = "layout" }),
awful.key({ config.keys.modkey, "Shift" }, "space", function() awful.layout.inc(-1) end, awful.key({ config.keys.modkey }, "c", function() awful.layout.inc(-1) end,
{ description = "select previous", group = "layout" }), { description = "select previous", group = "layout" }),
awful.key({ config.keys.modkey, "Control" }, "n", awful.key({ config.keys.modkey, "Control" }, "n",