add --wait to grimshot

fixes #7215
This commit is contained in:
ebbit1q 2023-06-20 17:36:05 +02:00
parent 5411ed4ef0
commit 6e314e1e9e
3 changed files with 29 additions and 3 deletions

View file

@ -6,7 +6,7 @@ grimshot - a helper for screenshots within sway
# SYNOPSIS
*grimshot* [--notify] [--cursor] (copy|save) [TARGET] [FILE]++
*grimshot* [--notify] [--cursor] [--wait N] (copy|save) [TARGET] [FILE]++
*grimshot* check++
*grimshot* usage
@ -18,6 +18,11 @@ grimshot - a helper for screenshots within sway
*--cursor*
Include cursors in the screenshot.
*--wait N*
Wait for N seconds before taking a screenshot. Waits after any
manual selection is made. Recommended to combine with --notify in
order to know when the screenshot has been taken.
*save*
Save the screenshot into a regular file. Grimshot will write image
files to *XDG_SCREENSHOTS_DIR* if this is set (or defined