aboutsummaryrefslogtreecommitdiff
path: root/completions/zsh/_swaygrab
blob: e0d654c3db7f319e2f85bf8905f72c0b6ef9fcc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#compdef swaygrab
#-----------------
# Description
# -----------
#
# Completion script for swaygrab in sway wm (http://swaywm.org)
#
# -----------------------------------------------------
# Author
# ------
#
# * Seth Barberee <seth.barberee@gmail.com>
#
# ------------------------------------------

_arguments -s \
	'(-h --help)'{-h,--help}'[Shows help message]' \
	'(-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]' \
	'(-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]'