2016-01-29 09:41:46 +11: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-01-29 12:45:01 +11:00
|
|
|
'(-c --color)'{-c,--color}'[Specify a color (rrggbb) instead of white]' \
|
|
|
|
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \
|
2016-01-29 12:42:50 +11:00
|
|
|
'(-s --scaling)'{-s,--scaling}'[Scaling mode: stretch, fill, fit, center, tile]'
|