summaryrefslogtreecommitdiff
path: root/examples/afterstep-joost
diff options
context:
space:
mode:
Diffstat (limited to 'examples/afterstep-joost')
-rwxr-xr-xexamples/afterstep-joost35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/afterstep-joost b/examples/afterstep-joost
new file mode 100755
index 0000000..ef1d074
--- /dev/null
+++ b/examples/afterstep-joost
@@ -0,0 +1,35 @@
+#!/usr/bin/install-menu
+#I need menu-1!
+#
+#NOTE: the first line of this script _must_ be
+# equal to "#!/usr/bin/install-menu", otherwise update-menus
+# will feed this script old-compat-mode data.
+#
+#More info: /usr/share/doc/menu/html.
+#
+compat="menu-1"
+
+!include menu.h
+
+compat="menu-2"
+
+function ex($com)=" Exec \"" $title "\" exec " $com "\n";
+function mod($var,$com) =" " $var " \"" $title "\" exec " $com "\n";
+
+supported;
+ fvwmmodule= mod("Exec", $command);
+ wm= mod("Restart",$command);
+ x11fvwm= ex($command);
+ x11= ex($command);
+ text= ex(term());
+endsupported;
+
+startmenu= "PopUp \"" $section "\"\n";
+endmenu= "EndPopUp\n";
+submenutitle=" Popup \"" title() cond_surr(icon(),"%","%") "\""
+ $section "\n";
+genmenu: "menudefs.hook";
+rootprefix: "/etc/X11/afterstep/";
+userprefix: "/.afterstep/";
+input2prefix: "/etc/X11/afterstep/";
+mainmenutitle: "DebianMenu";