A command line dictionary -- reading from clipboard. (A simple wrapper of dictd.)
Why do we need this since Goldendict works pretty well?
Because CLI is cool, cooler, coolest!
- dictd
- xclip
Tested on Manjaro Linux 18.1.5 (DDE)
ClipDict.sh [OPTION] [value]
-h show this help text
-m set the working MODE:
copy translate a word when copied (default)
select translate a word upon selected
-n display the output in system notifications or terminal
false in terminal (default)
true in system notifications
-v show the version
./ClipDict.sh
./ClipDict.sh -m select -n true
./ClipDict.sh -h