A malleable and minimalist status bar for the River compositor
git clone https://git.8pit.net/creek.git
1<?xml version="1.0" encoding="UTF-8"?> 2<protocol name="river_control_unstable_v1"> 3 <copyright> 4 Copyright 2020 The River Developers 5 6 Permission to use, copy, modify, and/or distribute this software for any 7 purpose with or without fee is hereby granted, provided that the above 8 copyright notice and this permission notice appear in all copies. 910 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES11 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF12 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR13 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES14 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN15 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF16 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.17 </copyright>1819 <interface name="zriver_control_v1" version="1">20 <description summary="run compositor commands">21 This interface allows clients to run compositor commands and receive a22 success/failure response with output or a failure message respectively.2324 Each command is built up in a series of add_argument requests and25 executed with a run_command request. The first argument is the command26 to be run.2728 A complete list of commands should be made available in the man page of29 the compositor.30 </description>3132 <request name="destroy" type="destructor">33 <description summary="destroy the river_control object">34 This request indicates that the client will not use the35 river_control object any more. Objects that have been created36 through this instance are not affected.37 </description>38 </request>3940 <request name="add_argument">41 <description summary="add an argument to the current command">42 Arguments are stored by the server in the order they were sent until43 the run_command request is made.44 </description>45 <arg name="argument" type="string" summary="the argument to add"/>46 </request>4748 <request name="run_command">49 <description summary="run the current command">50 Execute the command built up using the add_argument request for the51 given seat.52 </description>53 <arg name="seat" type="object" interface="wl_seat"/>54 <arg name="callback" type="new_id" interface="zriver_command_callback_v1"55 summary="callback object"/>56 </request>57 </interface>5859 <interface name="zriver_command_callback_v1" version="1">60 <description summary="callback object">61 This object is created by the run_command request. Exactly one of the62 success or failure events will be sent. This object will be destroyed63 by the compositor after one of the events is sent.64 </description>6566 <event name="success">67 <description summary="command successful">68 Sent when the command has been successfully received and executed by69 the compositor. Some commands may produce output, in which case the70 output argument will be a non-empty string.71 </description>72 <arg name="output" type="string" summary="the output of the command"/>73 </event>7475 <event name="failure">76 <description summary="command failed">77 Sent when the command could not be carried out. This could be due to78 sending a non-existent command, no command, not enough arguments, too79 many arguments, invalid arguments, etc.80 </description>81 <arg name="failure_message" type="string"82 summary="a message explaining why failure occurred"/>83 </event>84 </interface>85</protocol>