Fix typo in variable name

Signed-off-by: Nick Diego Yamane <nick@diegoyam.com>
This commit is contained in:
Nick Diego Yamane 2018-03-19 13:09:50 -04:00
parent e932abc867
commit 68b86ada1d
1 changed files with 18 additions and 18 deletions

View File

@ -154,26 +154,26 @@ local function new(k)
-- This have to be executer after rc.lua -- This have to be executer after rc.lua
glib.idle_add(glib.PRIORITY_DEFAULT_IDLE, function() glib.idle_add(glib.PRIORITY_DEFAULT_IDLE, function()
for k,v in pairs(keys) do for k,v in pairs(keys) do
for _,key_nane in ipairs(v) do for _,key_name in ipairs(v) do
aw[#aw+1] = awful.key({ "Mod4", }, key_nane, function () module.focus (k ) end, aw[#aw+1] = awful.key({ "Mod4", }, key_name, function () module.focus (k ) end,
{ description = "Change focus to the "..key_nane, group = "Collision" }) { description = "Change focus to the "..key_name, group = "Collision" })
aw[#aw+1] = awful.key({ "Mod4", "Mod1" }, key_nane, function () module.resize(k ) end, aw[#aw+1] = awful.key({ "Mod4", "Mod1" }, key_name, function () module.resize(k ) end,
{ description = "Resize to the "..key_nane, group = "Collision" }) { description = "Resize to the "..key_name, group = "Collision" })
aw[#aw+1] = awful.key({ "Mod4", "Shift" }, key_nane, function () module.move (k ) end, aw[#aw+1] = awful.key({ "Mod4", "Shift" }, key_name, function () module.move (k ) end,
{ description = "Move to the "..key_nane, group = "Collision" }) { description = "Move to the "..key_name, group = "Collision" })
aw[#aw+1] = awful.key({ "Mod4", "Shift", "Control" }, key_nane, function () module.move (k,nil ,true) end, aw[#aw+1] = awful.key({ "Mod4", "Shift", "Control" }, key_name, function () module.move (k,nil ,true) end,
{ description = "", group = "Collision" }) { description = "", group = "Collision" })
aw[#aw+1] = awful.key({ "Mod4", "Control" }, key_nane, function () module.focus (k,nil ,true) end, aw[#aw+1] = awful.key({ "Mod4", "Control" }, key_name, function () module.focus (k,nil ,true) end,
{ description = "Change floating focus to the "..key_nane, group = "Collision" }) { description = "Change floating focus to the "..key_name, group = "Collision" })
aw[#aw+1] = awful.key({ "Mod4", "Mod1" , "Control" }, key_nane, function () module.screen(k ) end, aw[#aw+1] = awful.key({ "Mod4", "Mod1" , "Control" }, key_name, function () module.screen(k ) end,
{ description = "Change screen to the "..key_nane, group = "Collision" }) { description = "Change screen to the "..key_name, group = "Collision" })
aw[#aw+1] = awful.key({ "Mod1", "Shift", "Control", "Mod4" }, key_nane, function () module.screen(k,true ) end, aw[#aw+1] = awful.key({ "Mod1", "Shift", "Control", "Mod4" }, key_name, function () module.screen(k,true ) end,
{ description = "Move tag screen to the "..key_nane, group = "Collision" }) { description = "Move tag screen to the "..key_name, group = "Collision" })
if k == "left" or k =="right" then -- Conflict with my text editor, so I say no if k == "left" or k =="right" then -- Conflict with my text editor, so I say no
aw[#aw+1] = awful.key({ "Mod1", "Control" }, key_nane, function () module.tag (k,nil ,true) end, aw[#aw+1] = awful.key({ "Mod1", "Control" }, key_name, function () module.tag (k,nil ,true) end,
{ description = "Select tag to the "..key_nane, group = "Collision" }) { description = "Select tag to the "..key_name, group = "Collision" })
aw[#aw+1] = awful.key({ "Mod1", "Shift", "Control" }, key_nane, function () module.tag (k,true,true) end, aw[#aw+1] = awful.key({ "Mod1", "Shift", "Control" }, key_name, function () module.tag (k,true,true) end,
{ description = "Move tag to the "..key_nane, group = "Collision" }) { description = "Move tag to the "..key_name, group = "Collision" })
end end
end end
end end