#!/bin/sh if [ "$1" = "" ] then echo "trans v2.0 written by Carman" echo "useage:" echo " trans install > installs trans , MUST be root" echo " trans uninstall > uninstalls trans, MUST be root" echo " trans -t grey > grey font" echo " trans -t white > white font" echo " trans -t black > black font" echo " trans -T grey > full transparrent grey font" echo " trans -T white > full transparrent white font" echo " trans -T black > full transparrent black font" elif [ $1 = "install" ] then chmod 755 trans2.0 mv trans2.0 /bin mv /bin/trans2.0 /bin/trans apt-get -y install eterm elif [ $1 = "uninstall" ] then apt-get -y remove Eterm rm /bin/trans elif [ $1 = "-t" ] && [ $2 = "white" ] then Eterm --trans -f white -n trans -x --buttonbar 0 --tint grey60 --scrollbar 0 elif [ $1 = "-t" ] && [ $2 = "grey" ] then Eterm --trans -f grey -n trans -x --buttonbar 0 --tint grey60 --scrollbar 0 elif [ $1 = "-t" ] && [ $2 = "black" ] then Eterm --trans -f black -n trans -x --buttonbar 0 --tint grey60 --scrollbar 0 elif [ $1 = "-T" ] && [ $2 = "white" ] then Eterm -x -f white -n trans --scrollbar=0 --buttonbar=0 --trans & elif [ $1 = "-T" ] && [ $2 = "grey" ] then Eterm -x -f grey -n trans --scrollbar=0 --buttonbar=0 --trans & elif [ $1 = "-T" ] && [ $2 = "black" ] then Eterm -x -f black -n trans --scrollbar=0 --buttonbar=0 --trans & fi