1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#!/usr/sbin/install-menu
# -*- mode: shell-script; -*-
#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/html.
#
compat="menu-1"
#!include /home/joost/maintain/menu/menu-1.4/menu-method/include.h
#function hoi( $a , $b ) = " title=\"" title() "\", and b=\"" $b "\" " ifroot("root", "user") " "
supported
hoi="hoi"
dwww="Com: " $extra " section=" $section "\n"
#", title=" $title ", com=" $command\
# hoi($section,"hoi" ifroot("root",$title)) "\n"
endsupported
#startmenu = "STA: count=" entrycount() " section=" $section ", title=" $title ", command=" $command "\n"
startmenu = "begin menu\n name " $title "\n items " entrycount() "\n"
endmenu = "ENDMENU\n"
submenutitle= "sub: index=" entryindex() "add=" div("4",entryindex()) \
", title=" $title ", command=" $command "\n"
#genmenu= ""
genmenu= "/hoi"
rootprefix="/home/joost/rommel/menu-hoi"
hotkeyexclude="E"
userprefix="/rommel/menu-hoi"
treewalk="(m)c"
mainmenutitle="Main Menu"
|