1. INSTALLATION and SETUP
==========================
To install 'awemenugen', run

# sh install.sh
or
$ sudo sh install.sh

1. After installing, run 'awemenugen'. This will generate a script containing a menu with installed applications on your system.
2. Edit your rc.lua (located in '/etc/xdg/awesome/rc.lua' or preffered '.config/awesome/rc.lua'

add following line at the beginning of rc.lua script:
require("applicationsmenu")

next, make the menu section look like:

mymainmenu = awful.menu({ items = { { "accessories",    applicationsmenu.applicationsmenu(), beautiful.awesome_icon     },
                                    { "open terminal",  terminal                                },
                                    { "restart",        awesome.restart                         },
                                    { "quit",           awesome.quit                            }
                                  }
                        })
                        
Of course, you can edit menu the way you feel. Key line here is the first one containing
{ "accessories",    applicationsmenu.applicationsmenu(), beautiful.awesome_icon     }
which includes a generated menu.

3. Restart awesome

2. UNINSTALLATION
==================
To uninstall 'awemenugen', type
# rm -rf /opt/awemenugen
or
$ sudo rm -rf /opt/awemenugen
