2016-01-28 23:41:46 +01:00
|
|
|
#compdef swaylock
|
|
|
|
#
|
|
|
|
# Completion script for swaylock
|
|
|
|
#
|
|
|
|
|
|
|
|
_arguments -s \
|
|
|
|
'(-v --version)'{-v,--version}'[Show the version number and quit]' \
|
|
|
|
'(-h --help)'{-h,--help}'[Show help message and quit]' \
|
2016-07-19 06:35:53 +02:00
|
|
|
'(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]\
|
2017-06-19 04:58:19 +02:00
|
|
|
'(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \
|
2016-01-29 02:45:01 +01:00
|
|
|
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \
|
2016-05-26 17:16:34 +02:00
|
|
|
'(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \
|
|
|
|
'(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]'
|
2016-07-19 06:35:53 +02:00
|
|
|
'(--socket)'{--socket}'[Use the specified socket path.]:files:_files' \
|