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 34 35 36 37 38
|
#!/usr/bin/install-menu
# by Iwan Heskamp <iwan@hetwasietsmet.nl>
# http://tdm120.el.utwente.nl/~hkp/pwm/
# Modified for Ion by Per Olofsson <pelle@dsv.su.se>
compat="menu-1"
!include menu.h
compat="menu-2"
outputencoding="ISO-8859-1";
function q($arg) = esc($arg, "\\\"");
function qc($arg) = esc($arg, "\\'");
function entry($action)=" menuentry(\"" q(title()) "\", \""
q($action) "\"),\n";
function entry_exec($command)=entry("ioncore.exec('" qc($command) "')");
supported;
x11 = entry_exec($command);
wm = entry("ioncore.restart_other('" qc($command) "')");
text = entry_exec(term());
endsupported;
startmenu="defmenu(\"" $section "\", {\n";
endmenu="})\n\n";
genmenu="debian-menu.lua";
submenutitle=" submenu(\"" $title "\", \"" $section "\"),\n";
preoutput="\n";
mainmenutitle="Debian";
rootsection="Debian";
rootprefix="/var/lib/notion/";
userprefix="/.notion/";
preoutput= "-- Automatically generated file. Do not edit.\n-- (See /usr/share/doc/menu/menu.txt.gz)\n\n";
|