diff options
author | Mark Stosberg <mark@rideamigos.com> | 2021-02-23 10:20:45 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-23 17:07:53 +0100 |
commit | 8f2eeae2853a4a7d0aea9c09a2c7ed4c2c7e557f (patch) | |
tree | b6a7a78ac2f7d7a825c29abd562e6061ffd9479d /contrib/grimshot | |
parent | aac1582ea90897a25408a520b8f3bde0552a69cc (diff) | |
download | sway-8f2eeae2853a4a7d0aea9c09a2c7ed4c2c7e557f.tar.xz |
grimshot: document support for piping to STDOUT.
Diffstat (limited to 'contrib/grimshot')
-rwxr-xr-x | contrib/grimshot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/grimshot b/contrib/grimshot index 461a5eef..921837f9 100755 --- a/contrib/grimshot +++ b/contrib/grimshot @@ -32,13 +32,13 @@ FILE=${3:-$(getTargetDirectory)/$(date -Ins).png} if [ "$ACTION" != "save" ] && [ "$ACTION" != "copy" ] && [ "$ACTION" != "check" ]; then echo "Usage:" - echo " grimshot [--notify] (copy|save) [active|screen|output|area|window] [FILE]" + echo " grimshot [--notify] (copy|save) [active|screen|output|area|window] [FILE|-]" echo " grimshot check" echo " grimshot usage" echo "" echo "Commands:" echo " copy: Copy the screenshot data into the clipboard." - echo " save: Save the screenshot to a regular file." + echo " save: Save the screenshot to a regular file or '-' to pipe to STDOUT." echo " check: Verify if required tools are installed and exit." echo " usage: Show this message and exit." echo "" |