like in this one (from "awesome window manager" rc.lua):
local editor = (env.editor or "xterm -e " .. (os.getenv("EDITOR") or "vim")) .. " " local myawesomemenu = { { "Edit config", editor .. awful.util.getdir("config") .. "/rc.lua" }, }
like in this one (from "awesome window manager" rc.lua):
local editor = (env.editor or "xterm -e " .. (os.getenv( "EDITOR" ) or "vim")) .. " " getdir( "config" ) .. "/rc.lua"
local myawesomemenu = {
{ "Edit config", editor .. awful.util.
},
}