#!/usr/sbin/install-menu # # Generates Openbox menus for all registered applications. # copyright (c) Nick S. Grechukh # this program is under GPL compat="menu-1" !include menu.h rootprefix="/etc/X11/xdg/openbox" userprefix=".config/openbox" genmenu="menu.hook.xml" examplercfile="menu-template" rcfile="menu.xml" treewalk=c(m) rootsection="ALTLinux" function ltitle()=translate(lang(),title()) sort=ifelse($command, "1", "0") ltitle() supported ## x11= nstring(level(), " ") "\n" nstring(level(), " ") "xterm -T \"" esc(ltitle(), "()") "\" -e " esc($command, "()") "\n\n" ## wm= nstring(level(), " ") "\n" nstring(level(), " ") " esc($command, "()") "\n\n" x11= " " "\n" " " "" esc($command, "()") "\n" " " "\n" text= " " "\n" " " "xterm -T \"" esc(ltitle(), "()") "\" -e " esc($command, "()") "\n" " " "\n" # wm= nstring(level(), " ") "[restart] (" esc(ltitle(), "()") ") {" esc($command, "()") "}\n" ### fluxbox= nstring(level(), " ") "[" esc($command, "()") "] (" esc(ltitle(), "()") ")\n" endsupported preoutput= "" postoutput= "" startmenu= "\n" submenutitle= " " "\n" endmenu= "\n"