#!/usr/sbin/install-menu
#
# Generates blackbox menus for all registered applications.
compat="menu-1"

!include menu.h

genmenu="blackbox-menu"
rootprefix="/etc/X11/blackbox/"
userprefix=""
treewalk=(M)
#rootsection="/Debian"

supported
    x11=   "  [exec] (" esc($title, "()") ") {" esc($command, "()") "}\n" 
    wm=	   "  [restart] ("  esc($title, "()")  ")  {" esc($command, "()") "}\n" 
    text=  "  [exec] (" esc($title, "()") ") { xterm -T \"" esc($title, "()") "\" -e " esc($command, "()") "}\n"
    blackbox= "[" esc($command, "()") "] (" esc($title, "()") ")\n"
endsupported

preoutput= \
  "# Automatically generated file. Do not edit (see /usr/share/doc/menu/README)\n\n\n\nDebian MENU\n\n"
postoutput= \
   "\nDebian END\n"

startmenu= " [begin] (Debian)\n"
submenutitle= "[submenu] (" esc($title,"()") ") {" esc($longtitle,"()") "}\n"
endmenu= "[end]\n"

