diff sources/functions.sh @ 762:879cf963cdbb

Add option to disable title bar display updates.
author Rob Landley <rob@landley.net>
date Sat, 27 Jun 2009 23:55:55 -0500
parents 93149f07231f
children dc19e20734ca
line wrap: on
line diff
--- a/sources/functions.sh	Wed Jun 24 13:02:03 2009 -0500
+++ b/sources/functions.sh	Sat Jun 27 23:55:55 2009 -0500
@@ -415,7 +415,8 @@
   export WRAPPY_LOGPATH="$WRAPPY_LOGDIR/cmdlines.${STAGE_NAME}.$1"
 
   # Change window title bar to package now
-  echo -en "\033]2;$ARCH_NAME $STAGE_NAME $PACKAGE\007"
+  [ -z "$NO_TITLE_BAR" ] &&
+    echo -en "\033]2;$ARCH_NAME $STAGE_NAME $PACKAGE\007"
 }
 
 # usage: wait4background [count]