File: menu-method

package info (click to toggle)
wm2 4-4.2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 260 kB
  • ctags: 423
  • sloc: cpp: 3,648; makefile: 57; sh: 41
file content (24 lines) | stat: -rw-r--r-- 802 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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 
#  wm  ="  echo '\"" $title ":wm2 exit;" esc($command,"\"") \""'\n"
   x11 ="  echo '\"" $title ":" esc($command,"\"") "\"'\n"
   text="  echo '\"" $title ":xterm -title \\\"" $title "\\\" -e " esc($command,"\"") "\"'\n"
endsupported
startmenu=   "function " $section " () {\n"
endmenu=     "}\n"
submenutitle="  echo \"\\\"" $title ":$config --menu " $section "\\\"\"\n"
genmenu=     "menudefs.hook"
rcfile=      "system.wm2rc"
examplercfile="system.wm2rc-menu"
rootprefix=   "/etc/X11/wm2/"
userprefix=   "/.wm2/"
mainmenutitle="Debian"