summaryrefslogtreecommitdiff
path: root/hyprctl/hw-protocols/hyprpaper_core.xml
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-02-14 13:08:13 +0000
committerGitHub <noreply@github.com>2026-02-14 13:08:13 +0000
commite5a2b9e5b03d6b1f2dbf88242ad34522e48fb3d9 (patch)
tree7374544715970a0c0a490d5fce212a7d2596b4e0 /hyprctl/hw-protocols/hyprpaper_core.xml
parente80f705d76d4dbe836e0f57aadea994a624ac63e (diff)
hyprctl: bump hyprpaper protocol to rev 2 (#12838)
Diffstat (limited to 'hyprctl/hw-protocols/hyprpaper_core.xml')
-rw-r--r--hyprctl/hw-protocols/hyprpaper_core.xml32
1 files changed, 30 insertions, 2 deletions
diff --git a/hyprctl/hw-protocols/hyprpaper_core.xml b/hyprctl/hw-protocols/hyprpaper_core.xml
index fa2edc0a..3d26a102 100644
--- a/hyprctl/hw-protocols/hyprpaper_core.xml
+++ b/hyprctl/hw-protocols/hyprpaper_core.xml
@@ -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>