X11 clipboard/selection utility written by haskell. If you want some feature, create an issue.
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.
Uses stack
.
git clone https://github.com/kamoii/copycat.git
cd copycat
stack install
- [X] コマンドライン引数で対象 SELECTION を指定できるように
- [X] cat中最後に読みとった selectionの内容を返すようにする
- [ ] テスト書く