From 45859be03f14fa0506ab8518feaec5ddb157e318 Mon Sep 17 00:00:00 2001 From: Jason Nader Date: Sat, 13 Jun 2020 12:32:24 +0900 Subject: i3-compat: add GET_BINDING_STATE IPC command --- completions/bash/swaymsg | 1 + completions/fish/swaymsg.fish | 1 + completions/zsh/_swaymsg | 1 + 3 files changed, 3 insertions(+) (limited to 'completions') 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' -- cgit v1.2.3-54-g00ecf