2016-01-28 22:41:46 +00: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 01:45:01 +00:00
|
|
|
'(-c --color)'{-c,--color}'[Specify a color (rrggbb) instead of white]' \
|
|
|
|
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \
|
2016-05-26 15:16:34 +00: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]'
|