mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
Merge pull request #483 from aouelete/zsh-swaylock-completion
zsh completions for swaylock
This commit is contained in:
commit
a64e281356
2 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
install(
|
||||
FILES _sway _swaymsg _swaygrab
|
||||
FILES _sway _swaymsg _swaygrab _swaylock
|
||||
DESTINATION share/zsh/site-functions/
|
||||
)
|
||||
|
|
11
completions/zsh/_swaylock
Normal file
11
completions/zsh/_swaylock
Normal file
|
@ -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…
Reference in a new issue