aboutsummaryrefslogtreecommitdiff
path: root/terminal
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-23 14:07:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-23 14:07:55 -0300
commit865cae79f8a6367f22086f6521c34f498b63b6ad (patch)
tree74dbf1eb65bd652e049a600c5957660a51dcbdd5 /terminal
parent777401112e31d5e629ec5256dcc873622184c6d3 (diff)
downloadscripts-865cae79f8a6367f22086f6521c34f498b63b6ad.tar.gz
scripts-865cae79f8a6367f22086f6521c34f498b63b6ad.tar.bz2
Mutt and terminal titles; adding xwyrd
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