From 28081b76891ddbbb825dee6c202037d78aa8f164 Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Sun, 17 Jan 2016 02:53:37 -0800 Subject: libinput --- swaymsg/main.c | 2 ++ swaymsg/swaymsg.1.txt | 3 +++ 2 files changed, 5 insertions(+) (limited to 'swaymsg') diff --git a/swaymsg/main.c b/swaymsg/main.c index dac84a9b..22572b6f 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -87,6 +87,8 @@ int main(int argc, char **argv) { type = IPC_COMMAND; } else if (strcasecmp(cmdtype, "get_workspaces") == 0) { type = IPC_GET_WORKSPACES; + } else if (strcasecmp(cmdtype, "get_inputs") == 0) { + type = IPC_GET_INPUTS; } else if (strcasecmp(cmdtype, "get_outputs") == 0) { type = IPC_GET_OUTPUTS; } else if (strcasecmp(cmdtype, "get_tree") == 0) { diff --git a/swaymsg/swaymsg.1.txt b/swaymsg/swaymsg.1.txt index 984780fa..c3af28d5 100644 --- a/swaymsg/swaymsg.1.txt +++ b/swaymsg/swaymsg.1.txt @@ -43,6 +43,9 @@ IPC Message Types *get_workspaces*:: Gets a JSON-encoded list of workspaces and their status. +*get_inputs*:: + Gets a JSON-encoded list of current inputs. + *get_outputs*:: Gets a JSON-encoded list of current outputs. -- cgit v1.2.3-70-g09d2