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)