1 #!/usr/sbin/install-menu
7 # You may want to edit (in fvwm_themes.h) the ftFindBestIcon and
8 # ftFindBestSectionIcon as well as the ftFindSystemMiniIcon.
11 #function ltitle()=translate(lang(),title())
12 function ltitle()=translate($lang,title())
15 wm = "+ \"" escfirst(ltitle(), $hotkey,"&") \
16 cond_surr(ftFindBestIcon($icon,$package,$section,$command,$title,"menu/"),\
18 "\" Restart " $command "\n"
19 FvwmModule = "+ \"" escfirst(ltitle(),$hotkey,"&") \
20 cond_surr(ftFindBestIcon($icon,$package,$section,$command,$title,"menu/"),\
22 "\" Module " $command "\n"
23 FvwmThemes = "+ \"" escfirst(ltitle(),$hotkey,"&") \
24 cond_surr(ftFindBestIcon($icon,$package,$section,$command,$title,"menu/"),\
27 fvwm2= "+ \"" escfirst(ltitle(),$hotkey,"&") \
28 cond_surr(ftFindBestIcon($icon,$package,$section,$command,$title,"menu/"),\
31 x11 = "+ \"" escfirst(ltitle(),$hotkey,"&") \
32 cond_surr(ftFindBestIcon($icon,$package,$section,$command,$title,"menu/"),\
34 "\" Exec " $command "\n"
35 text = "+ \"" escfirst(ltitle(),$hotkey,"&") \
36 cond_surr(ftFindBestIcon($icon,$package,$section,$command,$title,"menu/"),\
38 "\"" " Exec /usr/bin/X11/xterm -T \"" ltitle() "\" -e " $command "\n"
41 startmenu= "DestroyMenu \"" replacewith($section, " ", "_") "\"" "\n" \
42 "AddToMenu \"" replacewith($section, " ", "_") "\"" \
43 " \"" ltitle() "\" Title" "\n"
47 submenutitle= "+ \"" escfirst(ltitle() ,$hotkey,"&") \
48 cond_surr(ftFindBestSectionIcon($section,$icon,"menu/"),"%","%") \
49 "\" PopUp \"" replacewith($section, " ", "_") "\"\n"
51 rootprefix="xFT_DATADIRx/menu-system"
52 userprefix="/.fvwm/menu-system"
55 rootsection="MenuFvwmMenuSystem"