Add swaygrab(1) man page

This commit is contained in:
Drew DeVault 2015-11-27 10:06:24 -05:00
parent 7c04cd4fc8
commit 59e97c2788
2 changed files with 45 additions and 0 deletions

View File

@ -111,6 +111,7 @@ endfunction ()
add_manpage(sway 1)
add_manpage(sway 5)
add_manpage(swaymsg 1)
add_manpage(swaygrab 1)
install(
FILES "${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop"

44
swaygrab.1.txt Normal file
View File

@ -0,0 +1,44 @@
/////
vim:set ts=4 sw=4 tw=82 noet:
/////
:quotes.~:
swaygrab (1)
============
Name
----
swaygrab - Grab image data from the current sway session.
Synopsis
--------
'swaygrab' [options] [output] [file]
Grabs pixels from _output_ and writes them to _file_. The image will be passed to
ImageMagick convert for processing.
Options
-------
*-c, \--capture*::
Captures multiple frames as video and passes them into ffmpeg. Continues until
you send SIGTERM (ctrl+c) to swaygrab.
*-v, \--version*::
Print the version (of swaymsg) and quit.
*-s, --socket* <path>::
Use the specified socket path. Otherwise, swaymsg will ask sway where the
socket is (which is the value of $SWAYSOCK, then of $I3SOCK).
Authors
-------
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open
source contributors. For more information about sway development, see
<https://github.com/SirCmpwn/sway>.
See Also
--------
**sway**(5)