@@ -22,7 +22,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
-# $Id: fluxbox-generate_menu,v 1.19 2002/12/16 11:34:06 fluxgen Exp $
+# $Id: fluxbox-generate_menu,v 1.20 2002/12/17 16:42:20 fluxgen Exp $
WHOAMI=`whoami`
[ "$WHOAMI" = "root" ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin
esac
# Start of menu
+cat << EOF > ${FILENAME}
+# Generated by fluxbox-genereate_menu
+#
+# If you read this it means you want to edit this file manualy,
+# so here are some usefull tips:
+#
+# - The -r option prevents removing of empty menu entries and makes
+# thing much more readable.
+#
+# - To prevent any other app from overwriting your menu
+# you can change the menu name in .fluxbox/init to:
+# session.menuFile: /home/you/.fluxbox/my-menu
-echo "[begin] (${MENUTITLE})" > ${FILENAME}
+EOF
+
+echo "[begin] (${MENUTITLE})" >> ${FILENAME}
append "[exec] (${DEFAULT_TERM}) {${DEFAULT_TERM}}"