diff options
author | Hugo Osvaldo Barrera <hugo@barrera.io> | 2020-05-01 11:57:48 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-05 20:18:19 +0200 |
commit | f82de63856af94c2649901cbb303a42531d27cac (patch) | |
tree | 7f5094949a64372d8de0994b520cca4dd55b5a22 /contrib/grimshot | |
parent | grimshot: Add a separate flag for notifications (diff) | |
download | sway-f82de63856af94c2649901cbb303a42531d27cac.tar.gz sway-f82de63856af94c2649901cbb303a42531d27cac.tar.zst sway-f82de63856af94c2649901cbb303a42531d27cac.zip |
grimshot: Add a man page
Diffstat (limited to 'contrib/grimshot')
-rwxr-xr-x | contrib/grimshot | 8 |
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 @@ | |||
11 | ## - `mktemp`: to create a temporary file | 11 | ## - `mktemp`: to create a temporary file |
12 | ## Those are needed to be installed, if unsure, run `grimshot check` | 12 | ## Those are needed to be installed, if unsure, run `grimshot check` |
13 | ## | 13 | ## |
14 | ## Examples: | 14 | ## See `man 1 grimshot` or `grimshot usage` for further details. |
15 | ## `grimshot copy win` - to copy current window | ||
16 | ## `grimshot save area` - to select area and save it to default file (Pictures/Grimshot-$datetime.png) | ||
17 | ## `grimshot save screen ~/screenshot.png` - to save screenshot under ~/screenshot.png | ||
18 | ## `grimshot save output ~/screenshot.png` - to save screenshot under ~/screenshot.png | ||
19 | ## `grimshot` - usage | ||
20 | ## `grimshot check` - verify if tools are installed | ||
21 | 15 | ||
22 | getTargetDirectory() { | 16 | getTargetDirectory() { |
23 | test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && \ | 17 | test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && \ |