aboutsummaryrefslogtreecommitdiffstats
path: root/completions/zsh/_swaylock
blob: 3d4f650e2682483658b07271331d4905a3af216f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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) instead of white]' \
    '(-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' \