Screenshot utility for Linux
Find a file
2018-09-30 10:13:57 -05:00
ci a 2018-09-30 10:02:52 -05:00
imlib2 ... 2018-09-30 08:11:00 -05:00
src compile on stable 2018-09-30 10:09:57 -05:00
xlib ... 2018-09-30 08:07:29 -05:00
.dockerignore separate crate for safe bindings 2018-09-10 20:31:25 -05:00
.gitignore separate crate for safe bindings 2018-09-10 20:31:25 -05:00
.travis.yml a 2018-09-30 10:02:52 -05:00
Cargo.lock ... 2018-09-30 08:09:27 -05:00
Cargo.toml bump version 2018-09-30 10:13:57 -05:00
LICENSE MIT 2018-09-10 01:53:55 -05:00
README.md update readme 2018-09-30 08:43:39 -05:00

leanshot

Screenshot-capturing utility.

Installation

So far, only installation from crates.io is supported:

cargo install leanshot

Binary distributions will soon be available on the releases page.

Example Integration

It's nice to have a script like:

#!/bin/bash
SCREENSHOT=$HOME/.cargo/bin/leanshot
# choose some file to save it to
FILE="/path/to/screenshot.png"
$SCREENSHOT $1 -o $FILE
# optional: copy to clipboard
XCLIP=/usr/bin/xclip
$XCLIP -selection clipboard -t image/png -i $FILE

Then, you can bind this script to the keybinds of your choice using your window manager's config.

Contact

Author: Michael Zhang

License: MIT