diff options
-rwxr-xr-x | terminal | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 "$*" |