No Description
Michael Zhang d534834847
...
2 months ago
ci a 2 months ago
imlib2 bump 2 months ago
src compile on stable 2 months ago
xlib bump 2 months ago
.dockerignore separate crate for safe bindings 3 months ago
.gitignore separate crate for safe bindings 3 months ago
.travis.yml fix the name 2 months ago
Cargo.lock ... 2 months ago
Cargo.toml bump version 2 months ago
LICENSE MIT 3 months ago
README.md compile on stable 2 months ago

README.md

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