Skip to content

Instantly share code, notes, and snippets.

@rduplain
Created January 1, 2012 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rduplain/1547832 to your computer and use it in GitHub Desktop.
Save rduplain/1547832 to your computer and use it in GitHub Desktop.
Use MenuMaker to generate a Fluxbox menu, with a personal header stub.
#!/bin/sh
# Use MenuMaker to generate a Fluxbox menu, with a personal header stub.
# Goal: Start your fluxbox menu by hand, finish it with an auto-generated menu.
STUB=$HOME/.fluxbox/menu.stub
MENU=$HOME/.fluxbox/menu
# Add other modifiers to the pipeline as desired.
mmaker -f FluxBox -c -t Xterm | grep -v '\[begin\]' | cat $STUB - > $MENU
[begin] ( myhostname )
[exec] (Terminal) {xterm}
[separator]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment