Mercurial > hg > config
changeset 237:b33d0c78132c
move menu regeneration to its own function
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 09 Aug 2012 15:12:26 -0700 |
parents | 1ff683ac0487 |
children | 05728a85e19b |
files | .bashrc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.bashrc Thu Aug 09 13:04:17 2012 -0700 +++ b/.bashrc Thu Aug 09 15:12:26 2012 -0700 @@ -359,7 +359,11 @@ ### regenerate fluxbox menus here for convenience MENU=~/web/site/programs.html +regeneratefluxmenu() { if [ -e $MENU ] then html2flux.py $MENU > ~/.fluxbox/applications fi +} + +regeneratefluxmenu