|
|
@@ -285,10 +285,10 @@ globalkeys = awful.util.table.join(
|
|
|
awful.key({ s_mod, "Control" }, "n", awful.client.restore),
|
|
|
|
|
|
-- Prompt
|
|
|
- awful.key({ s_mod }, "r", function() promptbox[mouse.screen]:run() end),
|
|
|
+ awful.key({ s_mod }, "r", function() promptbox[mouse.screen.index]:run() end),
|
|
|
awful.key({ s_mod }, "x", function()
|
|
|
awful.prompt.run({ prompt = "Run Lua code: " },
|
|
|
- promptbox[mouse.screen].widget,
|
|
|
+ promptbox[mouse.screen.index].widget,
|
|
|
awful.util.eval, nil,
|
|
|
awful.util.getdir("cache") .. "/history_eval")
|
|
|
end),
|
|
|
@@ -301,8 +301,8 @@ clientkeys = awful.util.table.join(
|
|
|
awful.key({ s_mod, "Shift" }, "c", function(c) c:kill() end),
|
|
|
awful.key({ s_mod, "Control" }, "space", awful.client.floating.toggle ),
|
|
|
awful.key({ s_mod, "Control" }, "Return", function(c) c:swap(awful.client.getmaster()) end),
|
|
|
- awful.key({ s_mod, }, "i", function(c) awful.client.movetoscreen(c, c.screen-1) end ),
|
|
|
- awful.key({ s_mod, }, "o", function(c) awful.client.movetoscreen(c, c.screen+1) end ),
|
|
|
+ awful.key({ s_mod, }, "i", function(c) awful.client.movetoscreen(c, c.screen.index-1) end ),
|
|
|
+ awful.key({ s_mod, }, "o", function(c) awful.client.movetoscreen(c, c.screen.index+1) end ),
|
|
|
awful.key({ s_mod, }, "t", function(c) c.ontop = not c.ontop end),
|
|
|
awful.key({ s_mod, }, "n", function(c)
|
|
|
-- The client currently has the input focus, so it cannot be
|