aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xterminal9
1 files changed, 8 insertions, 1 deletions
diff --git a/terminal b/terminal
index 57f7bf4..f5aa675 100755
--- a/terminal
+++ b/terminal
@@ -20,9 +20,16 @@ fi
if [ ! -z "$FONT" ]; then
F_FONT="-F $FONT"
FN_FONT="-fn $FONT"
+ f_FONT="-f $FONT"
fi
-if [ "$TERM" == "rxvt" ]; then
+if [ "$TERM" == "stterm" ]; then
+ if [ ! -z "$1" ]; then
+ stterm $f_FONT -T $TITLE -e bash -rcfile $HOME/.terminal -c "$*"
+ else
+ stterm $f_FONT -T $TITLE -e bash -rcfile $HOME/.terminal
+ fi
+elif [ "$TERM" == "rxvt" ]; then
if [ ! -z "$1" ]; then
rxvt-unicode -bg black +sb -fg white $FN_FONT $DIMENSIONS -title $TITLE \
-e bash -rcfile $HOME/.terminal -c "$*"