Add selection subject option to grimshot

This enables selecting a window, output, or area within one invocation.
- Drag for an area
- Click on a window to select it
- Click outside of all windows (e.g. in gaps or on the statusbar) to
select the output
This commit is contained in:
Ragnar Groot Koerkamp 2021-05-20 13:37:26 +02:00
parent 8f036b6f78
commit 49545189ac
3 changed files with 22 additions and 2 deletions

View file

@ -5,7 +5,7 @@
.nh
.ad l
.\" Begin generated content:
.TH "grimshot" "1" "2021-02-23"
.TH "grimshot" "1" "2021-05-20"
.P
.SH NAME
.P
@ -94,6 +94,13 @@ captures it.\&
Captures the currently active output.\&
.P
.RE
\fIselection\fR
.RS 4
Allows manually selection a single window (by clicking on it), an output (by
clicking outside of all windows, e.\&g.\& on the status bar), or an area (by
using click and drag).\&
.P
.RE
.SH OUTPUT
.P
Grimshot will print the filename of the captured screenshot to stdout if called