#!/usr/sbin/install-menu # # Generates waimea menus for all registered applications. compat="menu-1" !include menu.h function ltitle()=translate(lang(),title()) supported x11= " [item] (" esc(ltitle(), "()") ") {" esc($command, "()") "}\n" wm= " [restart] (" esc(ltitle(), "()") ") {" esc($command, "()") "}\n" text= " [item] (" esc(ltitle(), "()") ") { xterm -T \"" esc(ltitle(), "()") "\" -e " esc($command, "()") "}\n" endsupported preoutput= \ "\ ! Automatically generated file.\n\ ! Can be edited with menudrake.\n\ ! WARNING!\n\ ! If you want to edit this file manually rename it and update ~/.waimea/menu\n\ !\n\ !\n\ " genmenu="menudefs.hooks" rcfile=menu rootprefix="/usr/share/waimea/" userprefix=".waimea/" examplercfile="menu-menu" treewalk=(M) startmenu= " [submenu] (" esc(ltitle(),"()") ")\n" endmenu= "[end]\n"