diff options
author | Peter Grayson <pete@jpgrayson.net> | 2019-03-08 14:39:35 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-03-08 15:28:35 -0500 |
commit | 1a9145e40983aa84da0e08ec3806b6e6fc8983f8 (patch) | |
tree | 22f3caca37ba585aecb01e7b955d851fae1cc524 /completions/fish/swaymsg.fish | |
parent | Add -p/--pretty option to swaymsg (diff) | |
download | sway-1a9145e40983aa84da0e08ec3806b6e6fc8983f8.tar.gz sway-1a9145e40983aa84da0e08ec3806b6e6fc8983f8.tar.zst sway-1a9145e40983aa84da0e08ec3806b6e6fc8983f8.zip |
Add missing swaymsg completions
The `-m/--monitor` option was missing from the bash and fish completions.
The `subscribe` IPC message type was missing from the bash, fish, and zsh
completions.
Signed-off-by: Peter Grayson <pete@jpgrayson.net>
Diffstat (limited to 'completions/fish/swaymsg.fish')
-rw-r--r-- | completions/fish/swaymsg.fish | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/completions/fish/swaymsg.fish b/completions/fish/swaymsg.fish index 3f1cc50c..25085f9a 100644 --- a/completions/fish/swaymsg.fish +++ b/completions/fish/swaymsg.fish | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | complete -f -c swaymsg | 3 | complete -f -c swaymsg |
4 | complete -c swaymsg -s h -l help --description "Show help message and quit." | 4 | complete -c swaymsg -s h -l help --description "Show help message and quit." |
5 | complete -c swaymsg -s m -l monitor --description "Monitor subscribed events until killed." | ||
5 | complete -c swaymsg -s p -l pretty --description "Use pretty output even when not using a tty." | 6 | complete -c swaymsg -s p -l pretty --description "Use pretty output even when not using a tty." |
6 | complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway." | 7 | complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway." |
7 | complete -c swaymsg -s r -l raw --description "Use raw output even if using tty." | 8 | complete -c swaymsg -s r -l raw --description "Use raw output even if using tty." |
@@ -20,3 +21,4 @@ complete -c swaymsg -s t -l type -fra 'get_binding_modes' --description "Gets a | |||
20 | complete -c swaymsg -s t -l type -fra 'get_config' --description "Gets a JSON-encoded copy of the current configuration." | 21 | complete -c swaymsg -s t -l type -fra 'get_config' --description "Gets a JSON-encoded copy of the current configuration." |
21 | complete -c swaymsg -s t -l type -fra 'get_seats' --description "Gets a JSON-encoded list of all seats, its properties and all assigned devices." | 22 | complete -c swaymsg -s t -l type -fra 'get_seats' --description "Gets a JSON-encoded list of all seats, its properties and all assigned devices." |
22 | complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients." | 23 | complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients." |
24 | complete -c swaymsg -s t -l type -fra 'subscribe' --description "Subscribe to a list of event types." | ||