Skip to content

Instantly share code, notes, and snippets.

Created March 25, 2015 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5a5ea49638662cefdb3b to your computer and use it in GitHub Desktop.
Save anonymous/5a5ea49638662cefdb3b to your computer and use it in GitHub Desktop.
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