manage river status objects

A global factory for objects that receive status information specific to river. It could be used to implement, for example, a status bar.

destroy()
destroy the river_status_manager object

This request indicates that the client will not use the river_status_manager object any more. Objects that have been created through this instance are not affected.

get_river_output_status(id: new_id<zriver_output_status_v1>, output: object<wl_output>)
Argument
Type
Description
idnew_id<zriver_output_status_v1>
outputobject<wl_output>
create an output status object

This creates a new river_output_status object for the given wl_output.

get_river_seat_status(id: new_id<zriver_seat_status_v1>, seat: object<wl_seat>)
Argument
Type
Description
idnew_id<zriver_seat_status_v1>
seatobject<wl_seat>
create a seat status object

This creates a new river_seat_status object for the given wl_seat.


track output tags and focus

This interface allows clients to receive information about the current windowing state of an output.

destroy()
destroy the river_output_status object

This request indicates that the client will not use the river_output_status object any more.

focused_tags(tags: uint)
Argument
Type
Description
tagsuint
32-bit bitfield
focused tags of the output

Sent once binding the interface and again whenever the tag focus of the output changes.

view_tags(tags: array)
Argument
Type
Description
tagsarray
array of 32-bit bitfields
tag state of an output's views

Sent once on binding the interface and again whenever the tag state of the output changes.

urgent_tags(tags: uint)
Argument
Type
Description
tagsuint
32-bit bitfield
tags of the output with an urgent view

Sent once on binding the interface and again whenever the set of tags with at least one urgent view changes.

layout_name(name: string)
Argument
Type
Description
namestring
layout name
name of the layout

Sent once on binding the interface should a layout name exist and again whenever the name changes.

layout_name_clear()
name of the layout

Sent when the current layout name has been removed without a new one being set, for example when the active layout generator disconnects.


track seat focus

This interface allows clients to receive information about the current focus of a seat. Note that (un)focused_output events will only be sent if the client has bound the relevant wl_output globals.

destroy()
destroy the river_seat_status object

This request indicates that the client will not use the river_seat_status object any more.

focused_output(output: object<wl_output>)
Argument
Type
Description
outputobject<wl_output>
the seat focused an output

Sent on binding the interface and again whenever an output gains focus.

unfocused_output(output: object<wl_output>)
Argument
Type
Description
outputobject<wl_output>
the seat unfocused an output

Sent whenever an output loses focus.

focused_view(title: string)
Argument
Type
Description
titlestring
title of the focused view
information on the focused view

Sent once on binding the interface and again whenever the focused view or a property thereof changes. The title may be an empty string if no view is focused or the focused view did not set a title.

mode(name: string)
Argument
Type
Description
namestring
name of the mode
the active mode changed

Sent once on binding the interface and again whenever a new mode is entered (e.g. with riverctl enter-mode foobar).


Compositor Support

Cage
Cage
0.2.0
COSMIC
COSMIC
1.0.0~beta.8
GameScope
GameScope
3.15.14
Hyprland
Hyprland
0.52.1
Jay
1.11.0
KWin
KWin
6.4
Labwc
Labwc
0.9.2
Louvre
Louvre
2.14.1
Mir
Mir
2.19
Muffin
Muffin
6.4.1
Mutter
Mutter
49.2
niri
niri
25.11
river
river
0.3.13
Sway
Sway
1.11
Treeland
Treeland
0.8.0
Wayfire
Wayfire
0.9.0
Weston
Weston
14.0.2
zriver_status_manager_v1
x
x
x
x
x
x
x
x
x
x
x
x
4
x
x
x
x

Copyright 2020 The River Developers

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.