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.scd77
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 @@
1grimshot(1)
2
3# NAME
4
5grimshot - 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
29Grimshot is an easy-to-use screenshot utility for sway. It provides a
30convenient interface over grim, slurp and jq, and supports storing the
31screenshot either directly to the clipboard using wl-copy or to a file.
32
33# EXAMPLES
34
35An 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
44bindsym Mod4+p exec grimshot save active
45bindsym Mod4+Shift+p exec grimshot save area
46bindsym Mod4+Mod1+p exec grimshot save output
47bindsym Mod4+Ctrl+p exec grimshot save window
48```
49
50# TARGETS
51
52grimshot 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
72Grimshot will print the filename of the captured screenshot to stdout if called
73with the _save_ subcommand.
74
75# SEE ALSO
76
77*grim*(1)