Screenshot utility for Linux
Find a file
Michael Zhang e7e8cae4f1
oops
2018-09-09 21:31:46 -05:00
ci travis builds 2018-09-09 21:27:44 -05:00
src drone 2018-05-29 18:09:07 -07: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
.travis.yml oops 2018-09-09 21:31:46 -05:00
Cargo.lock wrap slop 2018-05-14 18:03:30 -05:00
Cargo.toml oops 2018-09-09 21:31:46 -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