You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Federico Di Pierro edited this page Jun 7, 2023
·
8 revisions
Since Clightd 5.0, Dpms API exposes 3 different plugins (priority-listed below):
/org/clightd/clightd/Dpms/Xorg
/org/clightd/clightd/Dpms/Wl
/org/clightd/clightd/Dpms/Drm
When calling any of those, their plugin will be used; when calling main object path first available plugin will be used instead given the above priority-listed list.
Note that Changed signal will be sent on both main object path and used plugin's path.
The API is the same for any of those plugins; but first 2 input parameters ("ss") meaning changes:
Xorg
$DISPLAY (defaults to ":0")
$XAUTHORITY (defaults to caller "$HOME/.Xauthority")
Wl
$WAYLAND_DISPLAY (defaults to "wayland-0")
$XDG_RUNTIME_DIR (defaults to caller "/run/user/$uid")