1 2 3 4 5 6 7 8
awful.key({ modkey }, "g", function () awful.prompt.run({ prompt = "Google Search: "}, mypromptbox[mouse.screen].widget, (function(c) run = 'chromium "http://google.com/#hl=en&q=' .. c .. '"' awful.util.spawn(run) end), nil) end),