aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--completions/zsh/_swaymsg18
1 files changed, 6 insertions, 12 deletions
diff --git a/completions/zsh/_swaymsg b/completions/zsh/_swaymsg
index 5d9277c4..4baff92f 100644
--- a/completions/zsh/_swaymsg
+++ b/completions/zsh/_swaymsg
@@ -12,15 +12,9 @@
12# * Seth Barberee <seth.barberee@gmail.com> 12# * Seth Barberee <seth.barberee@gmail.com>
13# 13#
14# ------------------------------------------- 14# -------------------------------------------
15 15_arguments -s \
16_swaymsg() { 16 '(-v --version)'{-v,--version}'[Print the version (of swaymsg) and quit]' \
17 local -a options 17 '(-h --help)'{-h,--help}'[Shows help message]' \
18 options=('--version:shows version' 18 '(-q --quiet)'{-q,--quiet}'[Sends the IPC message but does not print the response from sway]' \
19 '--help:shows help message' 19 '(-s --socket)'{-s,--socket}'[Use the specified socket path. Otherwise, swaymsg uses $SWAYSOCK then $I3SOCK]' \
20 '--quiet:sends the IPC message but does not print the response from sway' 20 '(-t --type)'{-t,--type}'[Specify the type of IPC message. Tab completion still coming so use the man page instead]'
21 '--socket:Use the specified socket path. Otherwise, swaymsg uses $SWAYSOCK then $I3SOCK'
22 '--type:Specify the type of IPC message. Tab completion still coming so use the man page instead'
23 )
24 _describe 'values' options
25 }
26_swaymsg "$@"