Implement swaygrab for still images

This commit is contained in:
Drew DeVault 2015-11-27 10:39:18 -05:00
parent 062c74b7d0
commit f05b6cd55c
3 changed files with 60 additions and 7 deletions

View file

@ -31,6 +31,15 @@ Options
Use the specified socket path. Otherwise, swaymsg will ask sway where the
socket is (which is the value of $SWAYSOCK, then of $I3SOCK).
Examples
--------
swaygrab HDMI-A-1 output.png::
Grab the contents of HDMI-A-1 and write to output.png.
swaygrab -c HDMI-A-1 output.webm::
Capture a webm of HDMI-A-1.
Authors
-------