forked from michael/leanshot
44 lines
702 B
Markdown
44 lines
702 B
Markdown
screenshot
|
|
==========
|
|
|
|
Screenshot-capturing utility.
|
|
|
|
Bindings for `slop` have been generated by `bindgen`.
|
|
|
|
Installation
|
|
------------
|
|
|
|
You need `slop` (select operation, not the ruby one) installed in order to build this.
|
|
|
|
Make sure you have cargo installed. Then run
|
|
|
|
```
|
|
cargo install --git https://github.com/iptq/screenshot
|
|
```
|
|
|
|
Example Integration
|
|
-------------------
|
|
|
|
```bash
|
|
#!/bin/bash
|
|
SCREENSHOT=$HOME/.cargo/bin/screenshot
|
|
$SCREENSHOT $1 --clip --output "$HOME/Screenshots/Screenshot_%Y%m%d-%H:%M:%S.png"
|
|
```
|
|
|
|
Building from Source
|
|
--------------------
|
|
|
|
First, clone this repository. Then, run
|
|
|
|
```
|
|
cargo build
|
|
```
|
|
|
|
Happy hacking!
|
|
|
|
Contact
|
|
-------
|
|
|
|
Author: Michael Zhang
|
|
|
|
License: GNU GPL v3
|