awesomerc: fix default menu

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-09-08 10:23:18 +02:00
parent 62b0a9d8f1
commit 68148167ef
1 changed files with 8 additions and 8 deletions

View File

@ -48,6 +48,14 @@ end
-- }}}
-- {{{ Menu
-- Create a laucher widget and a main menu
myawesomemenu = {
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" },
{ "restart", awesome.restart },
{ "quit", awesome.quit }
}
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal }
}
@ -61,14 +69,6 @@ mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
-- Create a textclock widget
mytextclock = awful.widget.textclock({ align = "right" })
-- Create a laucher widget and a main menu
myawesomemenu = {
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" },
{ "restart", awesome.restart },
{ "quit", awesome.quit }
}
-- Create a systray
mysystray = widget({ type = "systray" })