1 #!/usr/sbin/install-menu
4 # Read /etc/X11/fvwm/DebianMenu
10 function start($var, $com) = \
11 "+ \"" escfirst(title(), $hotkey, "&") \
12 cond_surr(icon(), "%", "%") "\" " $var " " $com "\n"
15 fvwmmodule = start("Module", $command)
16 fvwmother = start("", $command)
17 wm = start("Restart", $command)
18 x11fvwm2 = start("Exec exec", $command)
19 x11fvwm = start("Exec exec", $command)
20 x11 = start("Exec exec", $command)
21 text = start("Exec exec", term())
25 "DestroyMenu \"" replacewith($section, " ", "_") "\"\n" \
26 "AddToMenu \"" replacewith($section, " ", "_") "\" \"" \
27 title() "\" Title Top\n"
31 "+ \"" escfirst(title(), $hotkey, "&") \
32 cond_surr(icon(), "%", "%") "\" Popup \"" \
33 replacewith($section, " ", "_") "\"\n"
35 genmenu = "DebianMenu"
36 rootprefix = "/etc/X11/fvwm/"
37 userprefix = "/.fvwm/"
39 mainmenutitle = "Debian Menu"