diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2016-01-17 02:53:37 -0800 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2016-01-19 06:51:36 -0800 |
commit | 28081b76891ddbbb825dee6c202037d78aa8f164 (patch) | |
tree | 6b7412f626f5d9f10dba8920a2543dfd3c5a662e /swaymsg | |
parent | Add ffmpeg/imagemagick to depenency list (diff) | |
download | sway-28081b76891ddbbb825dee6c202037d78aa8f164.tar.gz sway-28081b76891ddbbb825dee6c202037d78aa8f164.tar.zst sway-28081b76891ddbbb825dee6c202037d78aa8f164.zip |
libinput
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/main.c | 2 | ||||
-rw-r--r-- | swaymsg/swaymsg.1.txt | 3 |
2 files changed, 5 insertions, 0 deletions
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) { | |||
87 | type = IPC_COMMAND; | 87 | type = IPC_COMMAND; |
88 | } else if (strcasecmp(cmdtype, "get_workspaces") == 0) { | 88 | } else if (strcasecmp(cmdtype, "get_workspaces") == 0) { |
89 | type = IPC_GET_WORKSPACES; | 89 | type = IPC_GET_WORKSPACES; |
90 | } else if (strcasecmp(cmdtype, "get_inputs") == 0) { | ||
91 | type = IPC_GET_INPUTS; | ||
90 | } else if (strcasecmp(cmdtype, "get_outputs") == 0) { | 92 | } else if (strcasecmp(cmdtype, "get_outputs") == 0) { |
91 | type = IPC_GET_OUTPUTS; | 93 | type = IPC_GET_OUTPUTS; |
92 | } else if (strcasecmp(cmdtype, "get_tree") == 0) { | 94 | } 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 | |||
43 | *get_workspaces*:: | 43 | *get_workspaces*:: |
44 | Gets a JSON-encoded list of workspaces and their status. | 44 | Gets a JSON-encoded list of workspaces and their status. |
45 | 45 | ||
46 | *get_inputs*:: | ||
47 | Gets a JSON-encoded list of current inputs. | ||
48 | |||
46 | *get_outputs*:: | 49 | *get_outputs*:: |
47 | Gets a JSON-encoded list of current outputs. | 50 | Gets a JSON-encoded list of current outputs. |
48 | 51 | ||