From b7a390fd49773a50ae3754adc837fd5a610296d0 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Thu, 24 Dec 2020 12:49:39 -0600 Subject: [PATCH] update readme --- README.md | 9 ++++----- contrib/leanshot-hashed.sh | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3380f81..6535ab6 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,16 @@ leanshot ======== -Screenshot-capturing utility. +Screenshot-capturing utility for X11. Requirements ------------ -You must have imlib2 and OpenGL installed. Fortunately, these are relatively -common libraries. +You must have xcb installed. Installation ------------ -Binary distributions are available on the [releases](https://github.com/iptq/leanshot/releases) page. - To install from crates.io, use: ``` @@ -38,6 +35,8 @@ $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. +You can find other scripts in the `contrib/` directory. + Contact ------- diff --git a/contrib/leanshot-hashed.sh b/contrib/leanshot-hashed.sh index 1413a52..0d8b43e 100755 --- a/contrib/leanshot-hashed.sh +++ b/contrib/leanshot-hashed.sh @@ -2,7 +2,7 @@ set -eu -outdir=~/Pictures/Screenshots +outdir=$HOME/Pictures/Screenshots mkdir -p "${outdir}" file=$(mktemp --suffix .png)