/etc/menu-methods/aewm is in aewm 1.3.12-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #!/usr/bin/install-menu
compat = "menu-1"
!include menu.h
outputencoding="UTF-8"
genmenu = "menudefs.hook"
rootprefix = "/etc/X11/aewm/"
userprefix = ".aewm/"
treewalk = "(M)"
#mainmenutitle="Debian"
#rootsection="/Debian"
function pad() = nstring(sub(level(), "1"), " ")
function cmd($t, $c) = pad() "cmd \"" esc($t,"\\\"") "\" \"" esc($c,"\\\"") "\"\n"
preoutput = "# Automatically generated by update-menus\n\n"
submenutitle = ""
startmenu = ifneq(level(), "0", pad() "menu \"" esc(title(),"()") "\"\n")
endmenu = ifneq(level(), "0", pad() "end\n")
supported
x11 = cmd(title(), $command)
text = cmd(title(), term())
endsupported
|