Permalink
Browse files

Fix example.rc.lua prompts

Signed-off-by: Perry Hargrave <resixian@gmail.com>
  • Loading branch information...
Perry Hargrave
Perry Hargrave committed Jan 11, 2012
1 parent 8162f9b commit c6d295eba835f3384e7edb395d4fb0e6a51f25a4
Showing with 2 additions and 2 deletions.
  1. +2 −2 example.rc.lua
View
@@ -372,14 +372,14 @@ globalkeys = awful.util.table.join(
-- Prompt
awful.key({modkey}, "F1", function()
awful.prompt.run({prompt = "Run: "},
- mypromptbox[mouse.screen],
+ mypromptbox[mouse.screen].widget,
awful.util.spawn, awful.completion.shell,
awful.util.getdir("cache") .. "/history")
end),
awful.key({modkey}, "F4", function()
awful.prompt.run({prompt = "Run Lua code: "},
- mypromptbox[mouse.screen],
+ mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end)

0 comments on commit c6d295e

Please sign in to comment.