#!/usr/bin/install-menu
!include menu.h
compat="menu-1"
outputencoding="UTF-8"
genmenu="debian-menu.xml"
rootprefix="/var/lib/openbox/"
userprefix=".config/openbox/"
treewalk="(M)"
function xml_escape($s) = replace(replace(replace(replace(replace($s, \
"&", "&"), \
">", ">"), \
"<", "<"), \
"'", "'"), \
"\"", """)
supported
x11= nstring(level(), " ") "- \n" \
nstring(level(), " ") " " xml_escape($command) "\n" \
nstring(level(), " ") "
\n"
text= nstring(level(), " ") "- \n" \
nstring(level(), " ") " " xml_escape(term()) "\n" \
nstring(level(), " ") "
\n"
wm= nstring(level(), " ") "- \n" \
nstring(level(), " ") " " xml_escape($command) "\n" \
nstring(level(), " ") "
\n"
endsupported
startmenu= nstring(level(), " ") "
\n"
preoutput= "\n\n\n\n\n\n"
postoutput= "\n\n"