[ create a new paste ] login | about

Link: http://codepad.org/3Fr9QUTG    [ raw code | fork ]

Lua, pasted on Mar 3:
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),


Create a new paste based on this one


Comments: