You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
283 B
11 lines
283 B
#!/bin/sh
|
|
|
|
case "$1" in
|
|
"-c")
|
|
kitty --name 'trans2zh' bash -c 'echo ''"''Any=>Zh''"'' & exec trans -x proxy.lanhost.top:10080 :zh'
|
|
;;
|
|
*)
|
|
kitty --name 'trans2en' bash -c 'echo ''"''Any=>En''"'' & exec trans -x proxy.lanhost.top:10080'
|
|
;;
|
|
esac
|
|
|
|
|