aboutsummaryrefslogtreecommitdiff
path: root/desktop/grim/README
blob: 300d5810d827fcd9dd69822a17dbf4bd6e51478b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Grim is a command-line utility to take screenshots of wayland desktops.
Works great with slurp.
Requires scdoc

Example usage

Screenshoot all outputs:

grim

Screenshoot a specific output:

grim -o DP-1

Screenshoot a region:

grim -g "10,20 300x400"

Select a region and screenshoot it:

grim -g "$(slurp)"

Use a custom filename:

grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.png')

Screenshoot and copy to clipboard:

grim - | wl-copy