Treeland wallpaper color

wallpaper color monitoring

Warning! This protocol is EXPERIMENTAL and under active development. It may change at any time, including in backward-incompatible ways, without incrementing the interface major version and without prior notice. No compatibility guarantees of any kind are provided. Clients and compositors must track the upstream definition in treeland-protocols and must not rely on the current interface names, requests, events, or semantics remaining stable across releases.


watch(output: string)
Argument
Type
Description
outputstring
system output name
watch wallpaper color

Monitor the wallpaper color of a given screen.

unwatch(output: string)
Argument
Type
Description
outputstring
system output name
unwatch wallpaper color

Stop monitor the wallpaper color for the given screen.

destroy()
destroy the context object

The client no longer cares about wallpaper_color.

output_color(output: string, isdark: uint)
Argument
Type
Description
outputstring
system output name
isdarkuint
output color changed

Tell the client that the wallpaper color of the screen it is monitoring has changed. This event will also be sent immediately when the client requests a watch.


Compositor Support

treeland_wallpaper_color_manager_v1↓
Compositors
CageCage0.3.0
x
COSMICCOSMIC1.11.0
x
flakewm3.0.5
x
GameScopeGameScope3.17.0
x
HyprlandHyprland0.57.2
x
Jay1.14.0
x
KWinKWin6.7
x
LabwcLabwc0.20.2
x
LouvreLouvre2.14.1
x
MangoMango0.16.3
x
MirMir2.26
x
MuffinMuffin6.7.4
x
MutterMutter51
x
niriniri26.04
x
phocphoc0.55
x
Pila0.5.1
x
QtileQtile0.37.1
x
riverriver0.5.0
x
SwaySway1.11
x
TreelandTreeland0.8.0
1
WayfireWayfire0.9.0
x
WestonWeston15.0.1
x

SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT