diff options
Diffstat (limited to 'swaygrab/swaygrab.1.txt')
-rw-r--r-- | swaygrab/swaygrab.1.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/swaygrab/swaygrab.1.txt b/swaygrab/swaygrab.1.txt index b2c6389a..1da56db8 100644 --- a/swaygrab/swaygrab.1.txt +++ b/swaygrab/swaygrab.1.txt @@ -48,6 +48,13 @@ Options *-f, --focused*:: Capture only the currently focused container. +Environment Variables +--------------------- +swaygrab reads the following environment variables. + +*SWAYGRAB_FFMPEG_OPTS*:: + Pass additional arguments to FFmpeg when starting a capture. + Examples -------- @@ -57,6 +64,10 @@ swaygrab output.png:: swaygrab -c -o HDMI-A-1 output.webm:: Capture a webm of HDMI-A-1. +SWAYGRAB_FFMPEG_OPTS="-f alsa -i pulse" swaygrab -c:: + Capture the focused output and encode audio from the default recording + device. + Authors ------- |