From 4dd9fe288eb8597fff33240a161f8bcef248e8d6 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 14 May 2018 18:55:28 -0500 Subject: [PATCH] update readme --- .travis.yml | 1 + README.md | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 72468ff..a3c4ec9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ os: matrix: fast_finish: true sudo: true +dist: trusty addons: apt: update: true diff --git a/README.md b/README.md index b1879a2..4cf492b 100644 --- a/README.md +++ b/README.md @@ -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 --------------------