watch(output: string)
参数
类型
描述
outputstring
system output name
监视壁纸颜色

监视给定屏幕的壁纸颜色。

unwatch(output: string)
参数
类型
描述
outputstring
system output name
取消监视壁纸颜色

停止监视给定屏幕的壁纸颜色。

destroy()
销毁上下文对象

客户端不再关心壁纸颜色。

output_color(output: string, isdark: uint)
参数
类型
描述
outputstring
system output name
isdarkuint
输出颜色已更改

通知客户端其监视的屏幕壁纸颜色已更改。 当客户端请求监视时,也会立即发送此事件。


合成器支持

Cage
Cage
0.2.0
COSMIC
COSMIC
1.0.0~beta.8
GameScope
GameScope
3.15.14
Hyprland
Hyprland
0.52.1
Jay
1.12.0
KWin
KWin
6.6
Labwc
Labwc
0.9.2
Louvre
Louvre
2.14.1
Mir
Mir
2.26
Muffin
Muffin
6.6.0
Mutter
Mutter
49.2
niri
niri
25.11
phoc
phoc
0.52
river
river
0.3.13
Sway
Sway
1.11
Treeland
Treeland
0.8.0
Wayfire
Wayfire
0.9.0
Weston
Weston
14.0.2
treeland_wallpaper_color_manager_v1
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
1
x
x

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

Footer

© 2026 Wayland Explorer

本网站与 Wayland 官方项目无任何关联。网站所有内容均根据 Wayland 协议 XML 文件自动生成。

本网站使用的 Visual Studio Code - Codicons 遵循 CC BY 4.0 许可。