Screenshot utility for Linux
Find a file
Michael Zhang eaf2385d1c
gtk
2018-05-29 18:38:45 -07:00
src drone 2018-05-29 18:09:07 -07:00
.drone.yml gtk 2018-05-29 18:38:45 -07:00
.gitignore initial 2018-05-13 16:42:19 -05:00
.travis.yml update readme 2018-05-14 18:55:28 -05:00
Cargo.lock wrap slop 2018-05-14 18:03:30 -05:00
Cargo.toml wrap slop 2018-05-14 18:03:30 -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