sway/completions/zsh/_swaylock
Drew DeVault 3f2023ea65 Merge pull request #1244 from her001/swaylock-man-corrections
Correct swaylock man page description of -i and -c
2017-06-22 20:22:56 -04:00

15 lines
669 B
Plaintext

#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]' \
'(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]\
'(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \
'(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \
'(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]'
'(--socket)'{--socket}'[Use the specified socket path.]:files:_files' \