stumpwm.stumpwm-contrib/util/debian/menu-method
2014-07-24 13:33:03 -04:00

23 lines
565 B
Plaintext
Executable file

#!/usr/bin/install-menu
#
# Generates a stumpwm menu file
# BE CERTAIN to change the pathnames as appropriate BEFORE using
outputencoding="LOCALE"
!include menu.h
genmenu="stump.menu"
rcfile="stump.menu"
rootprefix="/tmp/"
userprefix="src/stumpwm/contrib/"
treewalk="(M)"
startmenu= nstring(level(), " ") "(\"" $title "\" . (\n"
endmenu= nstring(level(), " ") "))\n"
supported
x11= nstring(level(), " ") "(\"" title() "\" . \"" esc($command, "\"") "\")\n"
text= nstring(level(), " ") "(\"" title() "\" . \"" esc(term(), "\"") "\")\n"
endsupported