Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1012 Bytes

README.org

File metadata and controls

40 lines (28 loc) · 1012 Bytes

copycat

X11 clipboard/selection utility written by haskell. If you want some feature, create an issue.

Usage

X11 clipboard/selection utility.

Usage: copycat [--version] [--help] ([--primary] | [--secondary] |
               [--clipboard]) COMMAND

Available options:
  --version                Show version
  --help                   Show this help text
  --primary                operate on the PRIMARY selection.
  --secondary              operate on the SECONDARY selection.
  --clipboard              operate on the CLIPBOARD selection (default).

Available commands:
  cat                      Echo the selection to stdout.

How to install

Uses stack.

git clone https://github.com/kamoii/copycat.git
cd copycat
stack install

TODOS

  • [X] コマンドライン引数で対象 SELECTION を指定できるように
  • [X] cat中最後に読みとった selectionの内容を返すようにする
  • [ ] テスト書く