fix(rc.lua): don't pass arguments to awesome.quit from menu

Closes #1197
This commit is contained in:
Yauhen Kirylau 2016-10-29 15:15:14 +02:00
parent dfa7d44ebd
commit 70f9999a06
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ myawesomemenu = {
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile },
{ "restart", awesome.restart },
{ "quit", awesome.quit }
{ "quit", function() awesome.quit() end}
}
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },