awesomerc/configuration/menu/myawesomemenu.lua

22 lines
507 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", capi.awesome.restart },
{ "quit", capi.awesome.quit },
}
return myawesomemenu