diff options
author | Bill Allombert <ballombe@debian.org> | 2011-11-16 12:33:27 +0100 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-03-05 16:39:28 +0000 |
commit | dd7279795c97aa356727d366a2149c9bc838b496 (patch) | |
tree | a87d19d2e5220f5b38aec3b5b036235a59f971c9 /examples/9wm | |
download | menu-debian/2.1.46.tar.gz |
Imported Debian version 2.1.46debian/2.1.46
Diffstat (limited to 'examples/9wm')
-rwxr-xr-x | examples/9wm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/9wm b/examples/9wm new file mode 100755 index 0000000..1d1bc0a --- /dev/null +++ b/examples/9wm @@ -0,0 +1,32 @@ +#!/usr/bin/install-menu +# -*- mode: shell-script; -*- +#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 +function f($com)=" echo '\"" title() ":" esc($com,"\"") "\"'\n" +supported + wm= f(":9wm exit;" $command) + x11= f($command) + text=f(term()) +# wm =" echo '\"" $title ":9wm exit;" esc($command,"\"") "\"'\n" +# x11 =" echo '\"" $title ":" esc($command,"\"") "\"'\n" +# text=" echo '\"" $title ":xterm -title '\\'"\ +# $title "\\'' -e " esc($command,"\"") "\"'\n" +endsupported +startmenu= "function " $section "() {\n" +endmenu= "}\n" +# echo "\"MainMenu:$config --menu MainMenu\"" +submenutitle=" echo \"\\\"" title() ":$config --menu " $section "\\\"\"\n" +genmenu= "menudefs.hook" +rcfile= "system.9wmrc" +examplercfile="system.9wmrc-menu" +rootprefix= "/etc/X11/9wm/" +userprefix= "/.9wm/" |