diff --git a/configuration/menu/myawesomemenu.lua b/configuration/menu/myawesomemenu.lua index efc6da3..0bc8b37 100644 --- a/configuration/menu/myawesomemenu.lua +++ b/configuration/menu/myawesomemenu.lua @@ -14,8 +14,18 @@ local myawesomemenu = { }, { "manual", applications.open_man "awesome" }, { "edit config", applications.open_editor(capi.awesome.conffile) }, - { "restart", capi.awesome.restart }, - { "quit", capi.awesome.quit }, + { + "restart", + function() + capi.awesome.restart() + end, + }, + { + "quit", + function() + capi.awesome.quit() + end, + }, } return myawesomemenu