diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-17 16:47:18 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-17 16:47:18 +0100 |
commit | 64ccd63f138931fd2af4650d63e92a18d62cb95f (patch) | |
tree | 7fe56be2e06307fd68e2cf0eb2d987b9e2982aab /swaygrab/swaygrab.1.txt | |
parent | swaygrab: make focused output default (diff) | |
download | sway-64ccd63f138931fd2af4650d63e92a18d62cb95f.tar.gz sway-64ccd63f138931fd2af4650d63e92a18d62cb95f.tar.zst sway-64ccd63f138931fd2af4650d63e92a18d62cb95f.zip |
swaygrab: update man page
Diffstat (limited to 'swaygrab/swaygrab.1.txt')
-rw-r--r-- | swaygrab/swaygrab.1.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/swaygrab/swaygrab.1.txt b/swaygrab/swaygrab.1.txt index cd4b8bd2..ea1fe333 100644 --- a/swaygrab/swaygrab.1.txt +++ b/swaygrab/swaygrab.1.txt | |||
@@ -12,9 +12,9 @@ swaygrab - Grab image data from the current sway session. | |||
12 | 12 | ||
13 | Synopsis | 13 | Synopsis |
14 | -------- | 14 | -------- |
15 | 'swaygrab' [options] [output] [file] | 15 | 'swaygrab' [options] [file] |
16 | 16 | ||
17 | Grabs pixels from _output_ and writes them to _file_. The image will be passed to | 17 | Grabs pixels from an output and writes them to _file_. The image will be passed to |
18 | ImageMagick convert for processing. | 18 | ImageMagick convert for processing. |
19 | 19 | ||
20 | Options | 20 | Options |
@@ -27,6 +27,10 @@ Options | |||
27 | Captures multiple frames as video and passes them into ffmpeg. Continues until | 27 | Captures multiple frames as video and passes them into ffmpeg. Continues until |
28 | you send SIGTERM (ctrl+c) to swaygrab. | 28 | you send SIGTERM (ctrl+c) to swaygrab. |
29 | 29 | ||
30 | *-o, \--output* <output>:: | ||
31 | Use the specified _output_. If no output is defined the currently focused | ||
32 | output in sway will be used. | ||
33 | |||
30 | *-v, \--version*:: | 34 | *-v, \--version*:: |
31 | Print the version (of swaymsg) and quit. | 35 | Print the version (of swaymsg) and quit. |
32 | 36 | ||
@@ -44,10 +48,10 @@ Options | |||
44 | Examples | 48 | Examples |
45 | -------- | 49 | -------- |
46 | 50 | ||
47 | swaygrab HDMI-A-1 output.png:: | 51 | swaygrab output.png:: |
48 | Grab the contents of HDMI-A-1 and write to output.png. | 52 | Grab the contents of currently focused output and write to output.png. |
49 | 53 | ||
50 | swaygrab -c HDMI-A-1 output.webm:: | 54 | swaygrab -c -o HDMI-A-1 output.webm:: |
51 | Capture a webm of HDMI-A-1. | 55 | Capture a webm of HDMI-A-1. |
52 | 56 | ||
53 | Authors | 57 | Authors |