Screenshot utility for Linux
Go to file
Michael Zhang b19cf21be5
...
2018-09-09 23:48:45 -05:00
ci travis builds 2018-09-09 21:27:44 -05:00
slop-sys include slop 2018-09-09 23:24:43 -05:00
src include slop 2018-09-09 23:24:43 -05:00
.dockerignore travis builds 2018-09-09 21:27:44 -05:00
.drone.yml gtk 2018-05-29 18:38:45 -07:00
.gitignore initial 2018-05-13 16:42:19 -05:00
.gitmodules include slop 2018-09-09 23:24:43 -05:00
.travis.yml ... 2018-09-09 23:48:45 -05:00
Cargo.lock include slop 2018-09-09 23:24:43 -05:00
Cargo.toml bump ver 2018-09-09 23:24:57 -05:00
Dockerfile oops 2018-09-09 21:31:46 -05:00
LICENSE initial 2018-05-13 16:42:19 -05:00
README.md update readme 2018-05-14 18:55:28 -05:00

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

#!/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