Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.03 KB

File metadata and controls

46 lines (33 loc) · 1.03 KB

ClipDict

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!

Demo

demo.gif

Pre-requisites

  • dictd
  • xclip

Tested on Manjaro Linux 18.1.5 (DDE)

Usage

Synopsis

ClipDict.sh [OPTION] [value]

Options

-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

Example

./ClipDict.sh
./ClipDict.sh -m select -n true
./ClipDict.sh -h

References