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

genmenu="menu.hook"
rootprefix="/etc/X11/qvwm/"
userprefix=".qvwm"
treewalk=(M)
rootsection="\\&Programs"

supported
  x11=  "  \""$title"\"   \""$icon"\"   \"" esc($command,"\"") "\"\n"
  wm=   "  \""$title"\"   \""$icon"\"   \"EXEC " esc($command,"\"") "\"\n"
  text= "  \""$title"\"   \""$icon"\"   \"/usr/bin/X11/xterm -title "$title" -e " esc($command,"\"") "&\"\n"
endsupported

preoutput= \
  "; Automatically generated file. Do not edit. (see /usr/doc/menu/README)\n" \
  "\n" \
  "\n" \

startmenu= "\"" stripdir($section) "\"   \"\"\n+\n"
endmenu=   "-\n"
