Mercurial > hg > config
comparison .bashrc @ 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 | 57677a2bf772 |
children | a5a27ec28ea7 |
comparison
equal
deleted
inserted
replaced
236:1ff683ac0487 | 237:b33d0c78132c |
---|---|
357 ### include overrides for commands | 357 ### include overrides for commands |
358 source ~/.bash_overrides | 358 source ~/.bash_overrides |
359 | 359 |
360 ### regenerate fluxbox menus here for convenience | 360 ### regenerate fluxbox menus here for convenience |
361 MENU=~/web/site/programs.html | 361 MENU=~/web/site/programs.html |
362 regeneratefluxmenu() { | |
362 if [ -e $MENU ] | 363 if [ -e $MENU ] |
363 then | 364 then |
364 html2flux.py $MENU > ~/.fluxbox/applications | 365 html2flux.py $MENU > ~/.fluxbox/applications |
365 fi | 366 fi |
367 } | |
368 | |
369 regeneratefluxmenu |