Improve _swaymsg and _swaygrab completions

This commit is contained in:
Mikkel Oscar Lyderik 2016-01-29 03:06:13 +01:00
parent 34948c7ee1
commit 10e50b690a
2 changed files with 14 additions and 3 deletions

View file

@ -18,6 +18,6 @@ _arguments -s \
'(-c --capture)'{-c,--capture}'[Captures multiple frames as video and passes them to ffmpeg]' \
'(-o --output)'{-o,--output}'[Use the specified output. If not specified then current focused output will be used]' \
'(-v --version)'{-v,--version}'[Print the version (of swaymsg) and quit]' \
'(-s --socket)'{-s,--socket}'[Use the specified socket path. Otherwise, sway uses $SWAYSOCK then $I3SOCK]' \
'(-s --socket)'{-s,--socket}'[Use the specified socket path.]:files:_files' \
'(-r --rate)'{-r,--rate}'[Specify a framerate (in fps). Used in combination with -c. Default is 30 and must be an integer]' \
'(--raw)--raw[Instead of ImageMagick or ffmpeg, dump raw rgba data to stdout]'