commit e47b31c55680daf40208eed3586a3bfe83764130
parent 7d8ed7a3a70d44c9ebe68d19a1be2d8fb8183b49
Author: madblobfish <madblobfish@users.noreply.github.com>
Date: Sun, 4 Nov 2018 22:49:44 +0100
document swaymessage type for get_seats
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/completions/fish/swaymsg.fish b/completions/fish/swaymsg.fish
@@ -16,4 +16,5 @@ complete -c swaymsg -s t -l type -fra 'get_bar_config' --description "Get a JSON
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_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/swaymsg/swaymsg.1.scd b/swaymsg/swaymsg.1.scd
@@ -50,6 +50,10 @@ _swaymsg_ [options...] [message]
Gets a JSON-encoded layout tree of all open windows, containers, outputs,
workspaces, and so on.
+*get\_seats*
+ Gets a JSON-encoded list of all seats,
+ its properties and all assigned devices.
+
*get\_marks*
Get a JSON-encoded list of marks.