Skip to content

Instantly share code, notes, and snippets.

/gist:5a5ea49638662cefdb3b Secret
Created Mar 25, 2015

Embed
What would you like to do?
myawesomemenu = {
{ "lock", "xscreensaver-command -activate" },
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" },
{ "restart", awesome.restart },
{ "quit", awesome.quit }
}
mycommons = {
{ "pidgin", "pidgin" },
{ "OpenOffice", "soffice-dev" },
{ "Graphic", "gimp" }
}
mymainmenu = awful.menu.new({ items = {
{ "terminal", terminal },
{ "icecat", "icecat" },
{ "Editor", "gvim" },
{ "File Manager", "pcmanfm" },
{ "VirtualBox", "VirtualBox" },
{ "Common App", mycommons, beautiful.awesome_icon },
{ "awesome", myawesomemenu, beautiful.awesome_icon }
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.