update readme

This commit is contained in:
Michael Zhang 2018-05-14 18:55:28 -05:00
parent 31845ea433
commit 4dd9fe288e
No known key found for this signature in database
GPG key ID: A1B65B603268116B
2 changed files with 11 additions and 1 deletions

View file

@ -7,6 +7,7 @@ os:
matrix:
fast_finish: true
sudo: true
dist: trusty
addons:
apt:
update: true

View file

@ -1,7 +1,7 @@
screenshot
==========
Screenshot-capturing utility. Selection isn't fully implemented, so it's disabled for now.
Screenshot-capturing utility.
Bindings for `slop` have been generated by `bindgen`.
@ -16,6 +16,15 @@ 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
--------------------