aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorJason Nader <jason.nader@protonmail.com>2020-06-13 12:32:24 +0900
committerBrian Ashworth <bosrsf04@gmail.com>2020-06-14 00:55:14 -0400
commit45859be03f14fa0506ab8518feaec5ddb157e318 (patch)
treee838990235ecf0a4f543999ea292c0c5167957df /completions
parentf9361ae36c586d78db34307f538508ab0dd8f486 (diff)
i3-compat: add GET_BINDING_STATE IPC command
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/swaymsg1
-rw-r--r--completions/fish/swaymsg.fish1
-rw-r--r--completions/zsh/_swaymsg1
3 files changed, 3 insertions, 0 deletions
diff --git a/completions/bash/swaymsg b/completions/bash/swaymsg
index 1211787d..f865e4e1 100644
--- a/completions/bash/swaymsg
+++ b/completions/bash/swaymsg
@@ -15,6 +15,7 @@ _swaymsg()
'get_bar_config'
'get_version'
'get_binding_modes'
+ 'get_binding_state'
'get_config'
'send_tick'
'subscribe'
diff --git a/completions/fish/swaymsg.fish b/completions/fish/swaymsg.fish
index 25085f9a..5ee7dcc0 100644
--- a/completions/fish/swaymsg.fish
+++ b/completions/fish/swaymsg.fish
@@ -18,6 +18,7 @@ complete -c swaymsg -s t -l type -fra 'get_marks' --description "Get a JSON-enco
complete -c swaymsg -s t -l type -fra 'get_bar_config' --description "Get a JSON-encoded configuration for swaybar."
complete -c swaymsg -s t -l type -fra 'get_version' --description "Get JSON-encoded version information for the running instance of sway."
complete -c swaymsg -s t -l type -fra 'get_binding_modes' --description "Gets a JSON-encoded list of currently configured binding modes."
+complete -c swaymsg -s t -l type -fra 'get_binding_state' --description "Get JSON-encoded info about the current binding state."
complete -c swaymsg -s t -l type -fra 'get_config' --description "Gets a JSON-encoded copy of the current configuration."
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."
complete -c swaymsg -s t -l type -fra 'send_tick' --description "Sends a tick event to all subscribed clients."
diff --git a/completions/zsh/_swaymsg b/completions/zsh/_swaymsg
index 3f42a77d..106f3d9d 100644
--- a/completions/zsh/_swaymsg
+++ b/completions/zsh/_swaymsg
@@ -23,6 +23,7 @@ types=(
'get_bar_config'
'get_version'
'get_binding_modes'
+'get_binding_state'
'get_config'
'send_tick'
'subscribe'