mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
Merge pull request #350 from mikkeloscar/swaygrab-auto-output
swaygrab: update man page
This commit is contained in:
commit
b656297d4f
@ -12,9 +12,9 @@ swaygrab - Grab image data from the current sway session.
|
|||||||
|
|
||||||
Synopsis
|
Synopsis
|
||||||
--------
|
--------
|
||||||
'swaygrab' [options] [output] [file]
|
'swaygrab' [options] [file]
|
||||||
|
|
||||||
Grabs pixels from _output_ and writes them to _file_. The image will be passed to
|
Grabs pixels from an output and writes them to _file_. The image will be passed to
|
||||||
ImageMagick convert for processing.
|
ImageMagick convert for processing.
|
||||||
|
|
||||||
Options
|
Options
|
||||||
@ -27,6 +27,10 @@ Options
|
|||||||
Captures multiple frames as video and passes them into ffmpeg. Continues until
|
Captures multiple frames as video and passes them into ffmpeg. Continues until
|
||||||
you send SIGTERM (ctrl+c) to swaygrab.
|
you send SIGTERM (ctrl+c) to swaygrab.
|
||||||
|
|
||||||
|
*-o, \--output* <output>::
|
||||||
|
Use the specified _output_. If no output is defined the currently focused
|
||||||
|
output in sway will be used.
|
||||||
|
|
||||||
*-v, \--version*::
|
*-v, \--version*::
|
||||||
Print the version (of swaymsg) and quit.
|
Print the version (of swaymsg) and quit.
|
||||||
|
|
||||||
@ -44,10 +48,10 @@ Options
|
|||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
|
|
||||||
swaygrab HDMI-A-1 output.png::
|
swaygrab output.png::
|
||||||
Grab the contents of HDMI-A-1 and write to output.png.
|
Grab the contents of currently focused output and write to output.png.
|
||||||
|
|
||||||
swaygrab -c HDMI-A-1 output.webm::
|
swaygrab -c -o HDMI-A-1 output.webm::
|
||||||
Capture a webm of HDMI-A-1.
|
Capture a webm of HDMI-A-1.
|
||||||
|
|
||||||
Authors
|
Authors
|
||||||
|
Loading…
Reference in New Issue
Block a user