zsh completions for swaylock

master
Aaron Ouellette 9 years ago
parent 533e59f7b1
commit 7ac0fbe8e3

@ -1,4 +1,4 @@
install( install(
FILES _sway _swaymsg _swaygrab FILES _sway _swaymsg _swaygrab _swaylock
DESTINATION share/zsh/site-functions/ DESTINATION share/zsh/site-functions/
) )

@ -0,0 +1,11 @@
#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]' \
'(-c --color)'{-c --color}'[Specify a color (rrggbb) instead of white]' \
'(-i --image)'{-i --image}'[Display an image]' \
'(-s --scaling)'{-s --scaling}'[Scaling mode: stretch, fill, fit, center, tile]'
Loading…
Cancel
Save