diff options
Diffstat (limited to 'completions/zsh/_swaymsg')
-rw-r--r-- | completions/zsh/_swaymsg | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/completions/zsh/_swaymsg b/completions/zsh/_swaymsg index 4baff92f..1713689a 100644 --- a/completions/zsh/_swaymsg +++ b/completions/zsh/_swaymsg | |||
@@ -12,9 +12,20 @@ | |||
12 | # * Seth Barberee <seth.barberee@gmail.com> | 12 | # * Seth Barberee <seth.barberee@gmail.com> |
13 | # | 13 | # |
14 | # ------------------------------------------- | 14 | # ------------------------------------------- |
15 | |||
16 | types=( | ||
17 | 'get_workspaces' | ||
18 | 'get_inputs' | ||
19 | 'get_outputs' | ||
20 | 'get_tree' | ||
21 | 'get_marks' | ||
22 | 'get_bar_config' | ||
23 | 'get_version' | ||
24 | ) | ||
25 | |||
15 | _arguments -s \ | 26 | _arguments -s \ |
16 | '(-v --version)'{-v,--version}'[Print the version (of swaymsg) and quit]' \ | 27 | '(-v --version)'{-v,--version}'[Print the version (of swaymsg) and quit]' \ |
17 | '(-h --help)'{-h,--help}'[Shows help message]' \ | 28 | '(-h --help)'{-h,--help}'[Shows help message]' \ |
18 | '(-q --quiet)'{-q,--quiet}'[Sends the IPC message but does not print the response from sway]' \ | 29 | '(-q --quiet)'{-q,--quiet}'[Sends the IPC message but does not print the response from sway]' \ |
19 | '(-s --socket)'{-s,--socket}'[Use the specified socket path. Otherwise, swaymsg uses $SWAYSOCK then $I3SOCK]' \ | 30 | '(-s --socket)'{-s,--socket}'[Use the specified socket path.]:files:_files' \ |
20 | '(-t --type)'{-t,--type}'[Specify the type of IPC message. Tab completion still coming so use the man page instead]' | 31 | '(-t --type)'{-t,--type}'[Specify the type of IPC message.]:type:{_describe "type" types}' |