aboutsummaryrefslogtreecommitdiff
path: root/timelog
diff options
context:
space:
mode:
Diffstat (limited to 'timelog')
-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
}