aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-17 16:47:18 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-17 16:47:18 +0100
commit64ccd63f138931fd2af4650d63e92a18d62cb95f (patch)
tree7fe56be2e06307fd68e2cf0eb2d987b9e2982aab
parentd49282b2c37f0e3647d5300e97732e61602a3094 (diff)
swaygrab: update man page
-rw-r--r--swaygrab/swaygrab.1.txt14
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.
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.
Options
@@ -27,6 +27,10 @@ Options
Captures multiple frames as video and passes them into ffmpeg. Continues until
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*::
Print the version (of swaymsg) and quit.
@@ -44,10 +48,10 @@ Options
Examples
--------
-swaygrab HDMI-A-1 output.png::
- Grab the contents of HDMI-A-1 and write to output.png.
+swaygrab 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.
Authors