aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-11-27 10:06:24 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-11-27 10:06:24 -0500
commit59e97c27884a0dc82eb45f3269368bb684044aa2 (patch)
tree745729ca88f242f8195ff44ba90f2fe9500f49ea
parentAdd swaygrab subproject (diff)
downloadsway-59e97c27884a0dc82eb45f3269368bb684044aa2.tar.gz
sway-59e97c27884a0dc82eb45f3269368bb684044aa2.tar.zst
sway-59e97c27884a0dc82eb45f3269368bb684044aa2.zip
Add swaygrab(1) man page
-rw-r--r--CMakeLists.txt1
-rw-r--r--swaygrab.1.txt44
2 files changed, 45 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 15646251..fce820fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,6 +111,7 @@ endfunction ()
111add_manpage(sway 1) 111add_manpage(sway 1)
112add_manpage(sway 5) 112add_manpage(sway 5)
113add_manpage(swaymsg 1) 113add_manpage(swaymsg 1)
114add_manpage(swaygrab 1)
114 115
115install( 116install(
116 FILES "${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop" 117 FILES "${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop"
diff --git a/swaygrab.1.txt b/swaygrab.1.txt
new file mode 100644
index 00000000..68bea3e8
--- /dev/null
+++ b/swaygrab.1.txt
@@ -0,0 +1,44 @@
1/////
2vim:set ts=4 sw=4 tw=82 noet:
3/////
4:quotes.~:
5
6swaygrab (1)
7============
8
9Name
10----
11swaygrab - Grab image data from the current sway session.
12
13Synopsis
14--------
15'swaygrab' [options] [output] [file]
16
17Grabs pixels from _output_ and writes them to _file_. The image will be passed to
18ImageMagick convert for processing.
19
20Options
21-------
22
23*-c, \--capture*::
24 Captures multiple frames as video and passes them into ffmpeg. Continues until
25 you send SIGTERM (ctrl+c) to swaygrab.
26
27*-v, \--version*::
28 Print the version (of swaymsg) and quit.
29
30*-s, --socket* <path>::
31 Use the specified socket path. Otherwise, swaymsg will ask sway where the
32 socket is (which is the value of $SWAYSOCK, then of $I3SOCK).
33
34Authors
35-------
36
37Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open
38source contributors. For more information about sway development, see
39<https://github.com/SirCmpwn/sway>.
40
41See Also
42--------
43
44**sway**(5)