#!/usr/sbin/install-menu
#
# uwm (0.2.6b-BETA)
#
#  **  by Stephan P. Helma <s.p.helma@gmx.net> **
#
compat="menu-1"

supported
  x11=  "  ITEM \"" $title "\":\"" $command "\";\n"
  text= "  ITEM \"" $title "\":\" xterm -T \\\"" $title "\\\" -e " $command "\";\n"
  wm=   "OtherWMs = " stripdir($command) "\n"
endsupported

startmenu=""
endmenu=ifneq($title,"Debian menu","}\n")
# WindowManagers has to go into other file!
# Put menu definition for WindowManagers into dummy file
# and delete it afterwards
genmenu=ifeqelse(basename($section),"WindowManagers","uwmrc-wm.hook",ifeqelse($title,"WindowManagers","dummy","appmenu.hook"))
postrun="rm -f " prefix() "/dummy"
submenutitle="SUBMENU \"" $title "\" {\n"
preoutput="# /etc/X11/ude/appmenu.hook resp. /etc/X11/ude/uwmrc-wm.hook\n# Automatically generated file. Do not edit (see /usr/share/doc/menu/html)\n\n"
rootprefix="/etc/X11/ude/"
userprefix=".ude/config"
mainmenutitle="Debian menu"
treewalk="(M)"
