awesomerc/configuration/menu/myawesomemenu.lua

32 lines
623 B
Lua

local applications = require "rc.configuration.applications"
local hotkeys_popup = require "rc.ui.hotkeys_popup"
local capi = {
awesome = _G.awesome,
}
local myawesomemenu = {
{
"hotkeys",
function()
hotkeys_popup.show_help()
end,
},
{ "manual", applications.open_man "awesome" },
{ "edit config", applications.open_editor(capi.awesome.conffile) },
{
"restart",
function()
capi.awesome.restart()
end,
},
{
"quit",
function()
capi.awesome.quit()
end,
},
}
return myawesomemenu