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 | Fix #5643, #5064: rounding issues in floating-point -> integer conversions (diff) | |
download | sway-8f2eeae2853a4a7d0aea9c09a2c7ed4c2c7e557f.tar.gz sway-8f2eeae2853a4a7d0aea9c09a2c7ed4c2c7e557f.tar.zst sway-8f2eeae2853a4a7d0aea9c09a2c7ed4c2c7e557f.zip |
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} | |||
32 | 32 | ||
33 | if [ "$ACTION" != "save" ] && [ "$ACTION" != "copy" ] && [ "$ACTION" != "check" ]; then | 33 | if [ "$ACTION" != "save" ] && [ "$ACTION" != "copy" ] && [ "$ACTION" != "check" ]; then |
34 | echo "Usage:" | 34 | echo "Usage:" |
35 | echo " grimshot [--notify] (copy|save) [active|screen|output|area|window] [FILE]" | 35 | echo " grimshot [--notify] (copy|save) [active|screen|output|area|window] [FILE|-]" |
36 | echo " grimshot check" | 36 | echo " grimshot check" |
37 | echo " grimshot usage" | 37 | echo " grimshot usage" |
38 | echo "" | 38 | echo "" |
39 | echo "Commands:" | 39 | echo "Commands:" |
40 | echo " copy: Copy the screenshot data into the clipboard." | 40 | echo " copy: Copy the screenshot data into the clipboard." |
41 | echo " save: Save the screenshot to a regular file." | 41 | echo " save: Save the screenshot to a regular file or '-' to pipe to STDOUT." |
42 | echo " check: Verify if required tools are installed and exit." | 42 | echo " check: Verify if required tools are installed and exit." |
43 | echo " usage: Show this message and exit." | 43 | echo " usage: Show this message and exit." |
44 | echo "" | 44 | echo "" |