#!/usr/sbin/install-menu
#I need menu-1!
#
#NOTE: the first line of this script _must_ be
# equal to "#!/usr/sbin/install-menu", otherwise update-menus
# will feed this script old-compat-mode data.
#
#More info: /usr/doc/menu/README.
#
compat="menu-1"
supported 
  fvwm2module="+ \"" escwith($title,$hotkey,"_") \
           cond_surr($icon,"%","%") "\" " $command "\n"
  fvwmmodule= "+ \"" escwith($title,$hotkey,"_") \
           cond_surr($icon,"%","%") "\" Exec    " $command "\n"
  wm=         "+ \"" escwith($title,$hotkey,"_") \
           cond_surr($icon,"%","%") "\" Restart " $command "\n"
  X11_fvwm2=  "+ \"" escwith($title,$hotkey,"_") \
           cond_surr($icon,"%","%") "\" Exec    " $command "\n"
  x11=        "+ \"" escwith($title,$hotkey,"_") \
           cond_surr($icon,"%","%") "\" Exec    " $command  "\n"
  text=       "+ \"" escwith($title,$hotkey,"_") \
           cond_surr($icon,"%","%") "\""  \
            " Exec /usr/bin/X11/xterm -T \"" $title "\" -e " $command "\n"
endsupported
startmenu=   "DestroyMenu " $section "\nAddToMenu " \
              $section " \"" $title "\" Title\n"
endmenu=     "\n"
submenutitle= "+ \"" escwith($title,$hotkey,"_") \
           cond_surr($icon,"%","%") "\" PopUp " $section "\n"
genmenu=   "menudefs.hook"
rootprefix="/etc/X11/fvwm2/"
hotkeyexclude="E"
userprefix="/rommel/"
prerun="echo hello, I am going to do some work"
postrun="echo did it go ok"
treewalk="c(m)"
mainmenutitle="Main Menu"
