diff options
author | emersion <contact@emersion.fr> | 2018-11-28 17:58:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 17:58:36 +0100 |
commit | 67c7cc53ae1d652a1ccb6375e243e3cfca37aa4e (patch) | |
tree | c0e7249c44ff12c6cadee181405058fedfc3c90b /swaymsg/swaymsg.1.scd | |
parent | Merge pull request #3208 from RedSoxFan/bar-gaps (diff) | |
parent | Implement support for swaymsg -t SUBSCRIBE [-m] (diff) | |
download | sway-67c7cc53ae1d652a1ccb6375e243e3cfca37aa4e.tar.gz sway-67c7cc53ae1d652a1ccb6375e243e3cfca37aa4e.tar.zst sway-67c7cc53ae1d652a1ccb6375e243e3cfca37aa4e.zip |
Merge pull request #3206 from RedSoxFan/ipc-subscribe
Implement support for swaymsg -t SUBSCRIBE [-m]
Diffstat (limited to 'swaymsg/swaymsg.1.scd')
-rw-r--r-- | swaymsg/swaymsg.1.scd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/swaymsg/swaymsg.1.scd b/swaymsg/swaymsg.1.scd index eaac8105..f55f86a9 100644 --- a/swaymsg/swaymsg.1.scd +++ b/swaymsg/swaymsg.1.scd | |||
@@ -13,6 +13,12 @@ _swaymsg_ [options...] [message] | |||
13 | *-h, --help* | 13 | *-h, --help* |
14 | Show help message and quit. | 14 | Show help message and quit. |
15 | 15 | ||
16 | *-m, --monitor* | ||
17 | Monitor for responses until killed instead of exiting after the first | ||
18 | response. This can only be used with the IPC message type _subscribe_. If | ||
19 | there is a malformed response or an invalid event type was requested, | ||
20 | swaymsg will stop monitoring and exit. | ||
21 | |||
16 | *-q, --quiet* | 22 | *-q, --quiet* |
17 | Sends the IPC message but does not print the response from sway. | 23 | Sends the IPC message but does not print the response from sway. |
18 | 24 | ||
@@ -71,3 +77,8 @@ _swaymsg_ [options...] [message] | |||
71 | 77 | ||
72 | *send\_tick* | 78 | *send\_tick* |
73 | Sends a tick event to all subscribed clients. | 79 | Sends a tick event to all subscribed clients. |
80 | |||
81 | *subscribe* | ||
82 | Subscribe to a list of event types. The argument for this type should be | ||
83 | provided in the form of a valid JSON array. If any of the types are invalid | ||
84 | or if an valid JSON array is not provided, this will result in an failure. | ||