Last active
March 30, 2023 04:38
-
-
Save ngocnhan2003/b3ab6f44e0d34273a370bb42e8a7c292 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/sh | |
| # wget git.io/trans | |
| # chmod +x ./trans | |
| VALUE=$(xclip -out -selection primary) | |
| TRANS=$(trans en:vi "$VALUE" -no-ansi -show-original=N) | |
| notify-send "$VALUE" "$TRANS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment