leanshot/README.md

45 lines
702 B
Markdown
Raw Normal View History

2018-05-13 21:42:19 +00:00
screenshot
==========
2018-05-14 23:55:28 +00:00
Screenshot-capturing utility.
2018-05-13 21:42:19 +00:00
2018-05-14 23:03:30 +00:00
Bindings for `slop` have been generated by `bindgen`.
2018-05-13 22:36:49 +00:00
Installation
------------
2018-05-14 23:12:45 +00:00
You need `slop` (select operation, not the ruby one) installed in order to build this.
2018-05-13 22:36:49 +00:00
Make sure you have cargo installed. Then run
```
cargo install --git https://github.com/iptq/screenshot
```
2018-05-14 23:55:28 +00:00
Example Integration
-------------------
```bash
#!/bin/bash
SCREENSHOT=$HOME/.cargo/bin/screenshot
$SCREENSHOT $1 --clip --output "$HOME/Screenshots/Screenshot_%Y%m%d-%H:%M:%S.png"
```
2018-05-13 22:36:49 +00:00
Building from Source
--------------------
First, clone this repository. Then, run
```
cargo build
```
Happy hacking!
2018-05-13 21:42:19 +00:00
Contact
-------
Author: Michael Zhang
License: GNU GPL v3