hyprctl: bump hyprpaper protocol to rev 2 (#12838)
This commit is contained in:
parent
e80f705d76
commit
e5a2b9e5b0
2 changed files with 104 additions and 20 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<protocol name="hyprpaper_core" version="1">
|
||||
<protocol name="hyprpaper_core" version="2">
|
||||
<copyright>
|
||||
BSD 3-Clause License
|
||||
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
</copyright>
|
||||
|
||||
<object name="hyprpaper_core_manager" version="1">
|
||||
<object name="hyprpaper_core_manager" version="2">
|
||||
<description summary="manager object">
|
||||
This is the core manager object for hyprpaper operations
|
||||
</description>
|
||||
|
|
@ -62,6 +62,13 @@
|
|||
Destroys this object. Children remain alive until destroyed.
|
||||
</description>
|
||||
</c2s>
|
||||
|
||||
<c2s name="get_status_object" since="2">
|
||||
<description summary="Get a status object">
|
||||
Creates a status object
|
||||
</description>
|
||||
<returns iface="hyprpaper_status"/>
|
||||
</c2s>
|
||||
</object>
|
||||
|
||||
<enum name="wallpaper_fit_mode">
|
||||
|
|
@ -141,4 +148,25 @@
|
|||
</description>
|
||||
</c2s>
|
||||
</object>
|
||||
|
||||
<object name="hyprpaper_status" version="2">
|
||||
<description summary="status object">
|
||||
This is an object which will emit various status updates.
|
||||
</description>
|
||||
|
||||
<s2c name="active_wallpaper">
|
||||
<description summary="Active wallpaper state">
|
||||
Sends the active wallpaper for a given monitor. This will be emitted
|
||||
immediately after binding, and then every time the path changes.
|
||||
</description>
|
||||
<arg name="monitor" type="varchar" summary="monitor name"/>
|
||||
<arg name="path" type="varchar" summary="wallpaper path"/>
|
||||
</s2c>
|
||||
|
||||
<c2s name="destroy" destructor="true">
|
||||
<description summary="Destroy this object">
|
||||
Destroys this object.
|
||||
</description>
|
||||
</c2s>
|
||||
</object>
|
||||
</protocol>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue