aboutsummaryrefslogtreecommitdiff
path: root/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'terminal')
-rwxr-xr-xterminal6
1 files changed, 5 insertions, 1 deletions
diff --git a/terminal b/terminal
index a694aa1..e76974a 100755
--- a/terminal
+++ b/terminal
@@ -6,7 +6,11 @@
source ~/.geometry || exit 1
if [ -z "$TITLE" ]; then
- TITLE="terminal"
+ if [ ! -z "$1" ]; then
+ TITLE="$1"
+ else
+ TITLE="terminal"
+ fi
fi
if [ "$TERM" == "rxvt" ]; then