aboutsummaryrefslogtreecommitdiff
path: root/contrib/grimshot
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera <hugo@barrera.io>2020-05-01 11:57:48 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-05 20:18:19 +0200
commitf82de63856af94c2649901cbb303a42531d27cac (patch)
tree7f5094949a64372d8de0994b520cca4dd55b5a22 /contrib/grimshot
parentb10b6b552b81baae8d6e39c2401815964ea4a542 (diff)
downloadsway-f82de63856af94c2649901cbb303a42531d27cac.tar.xz
grimshot: Add a man page
Diffstat (limited to 'contrib/grimshot')
-rwxr-xr-xcontrib/grimshot8
1 files changed, 1 insertions, 7 deletions
diff --git a/contrib/grimshot b/contrib/grimshot
index ed32334b..08a5fd1b 100755
--- a/contrib/grimshot
+++ b/contrib/grimshot
@@ -11,13 +11,7 @@
## - `mktemp`: to create a temporary file
## Those are needed to be installed, if unsure, run `grimshot check`
##
-## Examples:
-## `grimshot copy win` - to copy current window
-## `grimshot save area` - to select area and save it to default file (Pictures/Grimshot-$datetime.png)
-## `grimshot save screen ~/screenshot.png` - to save screenshot under ~/screenshot.png
-## `grimshot save output ~/screenshot.png` - to save screenshot under ~/screenshot.png
-## `grimshot` - usage
-## `grimshot check` - verify if tools are installed
+## See `man 1 grimshot` or `grimshot usage` for further details.
getTargetDirectory() {
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && \