aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--completions/bash/swaymsg3
-rw-r--r--completions/fish/swaymsg.fish2
-rw-r--r--completions/zsh/_swaymsg1
3 files changed, 6 insertions, 0 deletions
diff --git a/completions/bash/swaymsg b/completions/bash/swaymsg
index 0b011902..a333c912 100644
--- a/completions/bash/swaymsg
+++ b/completions/bash/swaymsg
@@ -17,10 +17,12 @@ _swaymsg()
17 'get_binding_modes' 17 'get_binding_modes'
18 'get_config' 18 'get_config'
19 'send_tick' 19 'send_tick'
20 'subscribe'
20 ) 21 )
21 22
22 short=( 23 short=(
23 -h 24 -h
25 -m
24 -p 26 -p
25 -q 27 -q
26 -r 28 -r
@@ -31,6 +33,7 @@ _swaymsg()
31 33
32 long=( 34 long=(
33 --help 35 --help
36 --monitor
34 --pretty 37 --pretty
35 --quiet 38 --quiet
36 --raw 39 --raw
diff --git a/completions/fish/swaymsg.fish b/completions/fish/swaymsg.fish
index 37a24513..677ffe97 100644
--- a/completions/fish/swaymsg.fish
+++ b/completions/fish/swaymsg.fish
@@ -1,6 +1,7 @@
1# swaymsg(1) completion 1# swaymsg(1) completion
2 2
3complete -c swaymsg -s h -l help --description "Show help message and quit." 3complete -c swaymsg -s h -l help --description "Show help message and quit."
4complete -c swaymsg -s m -l monitor --description "Monitor subscribed events until killed."
4complete -c swaymsg -s p -l pretty --description "Use pretty output even when not using a tty." 5complete -c swaymsg -s p -l pretty --description "Use pretty output even when not using a tty."
5complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway." 6complete -c swaymsg -s q -l quiet --description "Sends the IPC message but does not print the response from sway."
6complete -c swaymsg -s r -l raw --description "Use raw output even if using tty." 7complete -c swaymsg -s r -l raw --description "Use raw output even if using tty."
@@ -19,3 +20,4 @@ complete -c swaymsg -s t -l type -fra 'get_binding_modes' --description "Gets a
19complete -c swaymsg -s t -l type -fra 'get_config' --description "Gets a JSON-encoded copy of the current configuration." 20complete -c swaymsg -s t -l type -fra 'get_config' --description "Gets a JSON-encoded copy of the current configuration."
20complete -c swaymsg -s t -l type -fra 'get_seats' --description "Gets a JSON-encoded list of all seats, its properties and all assigned devices." 21complete -c swaymsg -s t -l type -fra 'get_seats' --description "Gets a JSON-encoded list of all seats, its properties and all assigned devices."
21complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients." 22complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients."
23complete -c swaymsg -s t -l type -fra 'subscribe' --description "Subscribe to a list of event types."
diff --git a/completions/zsh/_swaymsg b/completions/zsh/_swaymsg
index c11fa990..3f42a77d 100644
--- a/completions/zsh/_swaymsg
+++ b/completions/zsh/_swaymsg
@@ -25,6 +25,7 @@ types=(
25'get_binding_modes' 25'get_binding_modes'
26'get_config' 26'get_config'
27'send_tick' 27'send_tick'
28'subscribe'
28) 29)
29 30
30_arguments -s \ 31_arguments -s \