diff options
Diffstat (limited to 'contrib/grimshot.1.scd')
-rw-r--r-- | contrib/grimshot.1.scd | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/contrib/grimshot.1.scd b/contrib/grimshot.1.scd deleted file mode 100644 index d2a57759..00000000 --- a/contrib/grimshot.1.scd +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | grimshot(1) | ||
2 | |||
3 | # NAME | ||
4 | |||
5 | grimshot - a helper for screenshots within sway | ||
6 | |||
7 | # SYNOPSIS | ||
8 | |||
9 | *grimshot* [--notify] (copy|save) [TARGET] [FILE]++ | ||
10 | *grimshot* check++ | ||
11 | *grimshot* usage | ||
12 | |||
13 | # OPTIONS | ||
14 | |||
15 | *--notify* | ||
16 | Show notifications to the user that a screenshot has been taken. | ||
17 | |||
18 | *save* | ||
19 | Save the screenshot into a regular file. Grimshot will write images | ||
20 | files to *XDG_SCREENSHOTS_DIR* if this is set (or defined | ||
21 | in *user-dirs.dir*), or otherwise fall back to *XDG_PICTURES_DIR*. | ||
22 | Set FILE to '-' to pipe the output to STDOUT. | ||
23 | |||
24 | *copy* | ||
25 | Copy the screenshot data (as image/png) into the clipboard. | ||
26 | |||
27 | # DESCRIPTION | ||
28 | |||
29 | Grimshot is an easy-to-use screenshot utility for sway. It provides a | ||
30 | convenient interface over grim, slurp and jq, and supports storing the | ||
31 | screenshot either directly to the clipboard using wl-copy or to a file. | ||
32 | |||
33 | # EXAMPLES | ||
34 | |||
35 | An example usage pattern is to add these bindings to your sway config: | ||
36 | |||
37 | ``` | ||
38 | # Screenshots: | ||
39 | # Super+P: Current window | ||
40 | # Super+Shift+p: Select area | ||
41 | # Super+Alt+p Current output | ||
42 | # Super+Ctrl+p Select a window | ||
43 | |||
44 | bindsym Mod4+p exec grimshot save active | ||
45 | bindsym Mod4+Shift+p exec grimshot save area | ||
46 | bindsym Mod4+Mod1+p exec grimshot save output | ||
47 | bindsym Mod4+Ctrl+p exec grimshot save window | ||
48 | ``` | ||
49 | |||
50 | # TARGETS | ||
51 | |||
52 | grimshot can capture the following named targets: | ||
53 | |||
54 | _active_ | ||
55 | Captures the currently active window. | ||
56 | |||
57 | _screen_ | ||
58 | Captures the entire screen. This includes all visible outputs. | ||
59 | |||
60 | _area_ | ||
61 | Allows manually selecting a rectangular region, and captures that. | ||
62 | |||
63 | _window_ | ||
64 | Allows manually selecting a single window (by clicking on it), and | ||
65 | captures it. | ||
66 | |||
67 | _output_ | ||
68 | Captures the currently active output. | ||
69 | |||
70 | # OUTPUT | ||
71 | |||
72 | Grimshot will print the filename of the captured screenshot to stdout if called | ||
73 | with the _save_ subcommand. | ||
74 | |||
75 | # SEE ALSO | ||
76 | |||
77 | *grim*(1) | ||