Changed bindings for Hardware colemak remap.
This commit is contained in:
parent
1bc250953b
commit
8a28a146e6
@ -332,8 +332,7 @@ globalkeys = gears.table.join(
|
|||||||
end,
|
end,
|
||||||
{description = "lua execute prompt", group = "awesome"}),
|
{description = "lua execute prompt", group = "awesome"}),
|
||||||
-- Menubar
|
-- Menubar
|
||||||
-- Bound to keycode 27, which is 'r' on qwerty for consistency across layouts.
|
awful.key({ modkey }, " ", function() menubar.show() end,
|
||||||
awful.key({ modkey }, "#27", function() menubar.show() end,
|
|
||||||
{description = "show the menubar", group = "launcher"}),
|
{description = "show the menubar", group = "launcher"}),
|
||||||
|
|
||||||
-- Custom bindings
|
-- Custom bindings
|
||||||
@ -346,7 +345,7 @@ globalkeys = gears.table.join(
|
|||||||
-- set to spawn after key release to work
|
-- set to spawn after key release to work
|
||||||
awful.key({ modkey, }, "q", nil, function () awful.spawn.with_shell("~/.config/awesome/screenshot.sh") end,
|
awful.key({ modkey, }, "q", nil, function () awful.spawn.with_shell("~/.config/awesome/screenshot.sh") end,
|
||||||
{description = "dmenu screenshot prompt", group = "launcher"}),
|
{description = "dmenu screenshot prompt", group = "launcher"}),
|
||||||
awful.key({ modkey, }, " ", function() awful.spawn.with_shell("~/.config/awesome/layout.sh") end,
|
awful.key({ modkey, }, "1", function() awful.spawn.with_shell("~/.config/awesome/layout.sh") end,
|
||||||
{ description = "change keyboard layout", group = "launcher"})
|
{ description = "change keyboard layout", group = "launcher"})
|
||||||
-- layout
|
-- layout
|
||||||
-- awful.key({ modkey, altkey, }, "Tab", function() awful.spawn.with_shell("~/.config/awesome/layout.sh") end,
|
-- awful.key({ modkey, altkey, }, "Tab", function() awful.spawn.with_shell("~/.config/awesome/layout.sh") end,
|
||||||
@ -368,7 +367,7 @@ clientkeys = gears.table.join(
|
|||||||
{description = "move to master", group = "client"}),
|
{description = "move to master", group = "client"}),
|
||||||
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
|
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
|
||||||
{description = "move to screen", group = "client"}),
|
{description = "move to screen", group = "client"}),
|
||||||
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
|
awful.key({ modkey, "Control" }, "t", function (c) c.ontop = not c.ontop end,
|
||||||
{description = "toggle keep on top", group = "client"}),
|
{description = "toggle keep on top", group = "client"}),
|
||||||
awful.key({ modkey, }, "n",
|
awful.key({ modkey, }, "n",
|
||||||
function (c)
|
function (c)
|
||||||
@ -413,12 +412,21 @@ clientkeys = gears.table.join(
|
|||||||
--}
|
--}
|
||||||
|
|
||||||
-- Binds to asdfz on qwerty
|
-- Binds to asdfz on qwerty
|
||||||
|
--local bindings = {
|
||||||
|
-- "#38",
|
||||||
|
-- "#39",
|
||||||
|
-- "#40",
|
||||||
|
-- "#41",
|
||||||
|
-- "#52",
|
||||||
|
--}
|
||||||
|
|
||||||
|
-- Bings to arstz on
|
||||||
local bindings = {
|
local bindings = {
|
||||||
"#38",
|
"a",
|
||||||
"#39",
|
"r",
|
||||||
"#40",
|
"s",
|
||||||
"#41",
|
"t",
|
||||||
"#52",
|
"z",
|
||||||
}
|
}
|
||||||
|
|
||||||
for i = 1, #bindings do
|
for i = 1, #bindings do
|
||||||
|
Loading…
Reference in New Issue
Block a user