aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtimelog4
1 files changed, 3 insertions, 1 deletions
diff --git a/timelog b/timelog
index c52bfc6..66541df 100755
--- a/timelog
+++ b/timelog
@@ -23,7 +23,9 @@ function timelog_window_title {
if [ -n "$STY" ]; then
screen -p $WINDOW -X title "$*"
else
- xtitle "$*"
+ if which xtitle &> /dev/null; then
+ xtitle "$*"
+ fi
fi
}