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]' \
|
2018-08-16 22:21:30 +00:00
|
|
|
'(-f --daemonize)'{-f,--daemonize}'[Detach from the controlling terminal]' \
|
2017-06-19 02:58:19 +00:00
|
|
|
'(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \
|
2016-01-29 01:45:01 +00:00
|
|
|
'(-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)' \
|
2018-08-16 22:21:30 +00:00
|
|
|
'(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]' \
|
|
|
|
'(--socket)'--socket'[Use the specified socket path.]:files:_files' \
|