Skip to content

Commit

Permalink
docs: change to sleep 2s if Easydict is not running
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Nov 16, 2023
1 parent 90230ad commit 4d307c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ shell script: |
result=$(ps aux | grep Easydict.app | wc -l)
if [[ $result -lt 2 ]];then
open /Applications/Easydict.app
sleep 1
sleep 2
fi
open "easydict://query?text=$POPCLIP_TEXT"
```
Expand Down
3 changes: 1 addition & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<div align="center">
<a href="./README.md">中文</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a href="./README_EN.md">English</a>
</div>

## Easydict

`Easydict` is a concise and easy-to-use translation dictionary macOS App that allows you to easily and elegantly look up words or translate text. Easydict is ready to use out of the box, can automatically recognize the language of the input text, supports input translate, select translate, and OCR screenshot translate, and can query multiple translation services results at the same time. Currently, it supports [Youdao Dictionary](https://www.youdao.com/), [**🍎 Apple System Dictionary**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-en.md), [**🍎 macOS System Translation**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-zh.md), [OpenAI(ChatGPT)](https://chat.openai.com/), [DeepL](https://www.deepl.com/translator), [Google](https://translate.google.com/), [Bing Translate](https://www.bing.com/translator), [Baidu](https://fanyi.baidu.com/), and [Volcano Translation](https://translate.volcengine.com/translate).
Expand Down Expand Up @@ -525,7 +524,7 @@ shell script: |
result=$(ps aux | grep Easydict.app | wc -l)
if [[ $result -lt 2 ]];then
open /Applications/Easydict.app
sleep 1
sleep 2
fi
open "easydict://query?text=$POPCLIP_TEXT"
```
Expand Down

0 comments on commit 4d307c1

Please sign in to comment.