1slurp(1) General Commands Manual slurp(1)
2
3
4
6 slurp - select a region in a Wayland compositor
7
9 slurp [options...]
10
12 slurp is a command-line utility to select a region from Wayland compos‐
13 itors which support the layer-shell protocol. It lets the user hold the
14 pointer to select, or click to cancel the selection.
15
16 If the standard input is not a TTY, slurp will read a list of prede‐
17 fined rectangles for quick selection. Each line must be in the form
18 "<x>,<y> <width>x<height>".
19
21 -h
22 Show help message and quit.
23
24 -d
25 Display dimensions of selection.
26
27 -b color
28 Set background color. See COLORS for more detail.
29
30 -c color
31 Set border color. See COLORS for more detail.
32
33 -s color
34 Set selection color. See COLORS for more detail.
35
36 -w weight
37 Set border weight.
38
39 -f format
40 Set format. See FORMAT for more detail.
41
42 -p
43 Select a single pixel instead of a rectangle. This mode ignores any
44 predefined rectangles read from the standard input.
45
47 Colors may be specified in #RRGGBB or #RRGGBBAA format. The # is
48 optional.
49
51 Interpreted sequences are:
52
53 %x The x-coordinate of the selection
54
55 %y The y-coordinate of the selection
56
57 %w The width of the selection
58
59 %h The height of the selection
60
61 The default format is "%x,%y %wx%h".
62
64 Maintained by Simon Ser <contact@emersion.fr>, who is assisted by other
65 open-source contributors. For more information about slurp development,
66 see https://github.com/emersion/slurp.
67
68
69
70 2020-03-08 slurp(1)