aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2016-07-18 23:35:53 -0500
committerGitHub <noreply@github.com>2016-07-18 23:35:53 -0500
commit6ec51e33506b7e24f7439df0f1a61eca7f4ed73d (patch)
tree463537afe02882fc9dc5d033014f6ca832618a92
parent4190ddb0d15f559c86f65eaa31678e5385c218eb (diff)
Update _swaylock
added new option of daemonize (-f --daemonize) that was added to swaylock in https://github.com/SirCmpwn/sway/pull/750 and added socket completion upon reading more into swaylock/main.c (it also is in the usage help but never had it in completion)
-rw-r--r--completions/zsh/_swaylock2
1 files changed, 2 insertions, 0 deletions
diff --git a/completions/zsh/_swaylock b/completions/zsh/_swaylock
index 842a884a..3d4f650e 100644
--- a/completions/zsh/_swaylock
+++ b/completions/zsh/_swaylock
@@ -6,7 +6,9 @@
_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' \