Run in Terminal

Add this key definition to  in ~/.config/awesome/rc.lua:

awful.key({ modkey, "Shift"  }, "r",          function               awful.prompt.run({ prompt = "Run in terminal: " }, mypromptbox[mouse.screen].widget, function (...) awful.util.spawn(terminal .. " -e " .. ...) end, awful.completion.shell, awful.util.getdir("cache") .. "/history")         end)