aboutsummaryrefslogtreecommitdiffstats
path: root/completions
diff options
context:
space:
mode:
authorLibravatar Aaron Ouellette <aouellette2016@gmail.com>2016-01-28 17:41:46 -0500
committerLibravatar Aaron Ouellette <aouellette2016@gmail.com>2016-01-28 20:20:15 -0500
commit7ac0fbe8e36b9ac6e221cd79c33fafd31a1a7ab6 (patch)
treebcdbc8a353474fc048c6425fd033fe1e54c1aafa /completions
parentMerge pull request #482 from crondog/movemouse (diff)
downloadsway-7ac0fbe8e36b9ac6e221cd79c33fafd31a1a7ab6.tar.gz
sway-7ac0fbe8e36b9ac6e221cd79c33fafd31a1a7ab6.tar.zst
sway-7ac0fbe8e36b9ac6e221cd79c33fafd31a1a7ab6.zip
zsh completions for swaylock
Diffstat (limited to 'completions')
-rw-r--r--completions/zsh/CMakeLists.txt2
-rw-r--r--completions/zsh/_swaylock11
2 files changed, 12 insertions, 1 deletions
diff --git a/completions/zsh/CMakeLists.txt b/completions/zsh/CMakeLists.txt
index 561636f2..ac307d7d 100644
--- a/completions/zsh/CMakeLists.txt
+++ b/completions/zsh/CMakeLists.txt
@@ -1,4 +1,4 @@
1install( 1install(
2 FILES _sway _swaymsg _swaygrab 2 FILES _sway _swaymsg _swaygrab _swaylock
3 DESTINATION share/zsh/site-functions/ 3 DESTINATION share/zsh/site-functions/
4) 4)
diff --git a/completions/zsh/_swaylock b/completions/zsh/_swaylock
new file mode 100644
index 00000000..6163c089
--- /dev/null
+++ b/completions/zsh/_swaylock
@@ -0,0 +1,11 @@
1#compdef swaylock
2#
3# Completion script for swaylock
4#
5
6_arguments -s \
7 '(-v --version)'{-v,--version}'[Show the version number and quit]' \
8 '(-h --help)'{-h,--help}'[Show help message and quit]' \
9 '(-c --color)'{-c --color}'[Specify a color (rrggbb) instead of white]' \
10 '(-i --image)'{-i --image}'[Display an image]' \
11 '(-s --scaling)'{-s --scaling}'[Scaling mode: stretch, fill, fit, center, tile]'