awesomerc/configuration/menu/myawesomemenu.lua

22 lines
507 B
Lua
Raw Normal View History

2021-11-29 18:53:23 +01:00
local applications = require "rc.configuration.applications"
local hotkeys_popup = require "rc.ui.hotkeys_popup"
2021-05-25 17:37:29 +02:00
local capi = {
2021-11-29 18:53:23 +01:00
awesome = _G.awesome,
2021-05-25 17:37:29 +02:00
}
local myawesomemenu = {
2021-11-29 18:53:23 +01:00
{
"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 },
2021-05-25 17:37:29 +02:00
}
return myawesomemenu