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