1
#!/usr/sbin/install-menu
9
userprefix=".sawfish/lisp";
10
rootprefix="/etc/X11/sawfish";
11
genmenu="debian-menu.jl";
15
x11=" '(\"" $title "\" (system \"exec " $command " &\"))" ifneq(entryindex(), sub(entrycount(), "1"), "\n");
17
text=" '(\"" $title "\" (system \"exec " esc(term(), "\"") " &\"))" ifneq(entryindex(), sub(entrycount(), "1"), "\n");
19
wm=" '(\"" $title "\"(progn (setq saved-command-line-args '(\""$command"\")) (restart)))" ifneq(entryindex(), sub(entrycount(), "1"), "\n");
22
preoutput=";; This is -*-Lisp-*-\n;; Automagically generated file. Do not edit (see /usr/doc/menu/html/index.html)\n\n(provide 'debian-menu)\n\n";
24
startmenu="(defvar " tolower(replacewith(replacewith(replacewith($section, "/ ", "--"), "(", "{"), ")", "}")) "-menu\n (list\n";
26
submenutitle=" '(\"" $title "\" . " tolower(replacewith(replacewith(replacewith($section, "/ ", "--"), "(", "{"), ")", "}")) "-menu)" ifneq(entryindex(), sub(entrycount(), "1"), "\n");