# General

*  < v1.0.0 == x11 && gtk3
* >= v1.0.0 == wayland && gtk4

# Wayland

* stne-color
	- Attempt to get rid of gio/gobject deps (colord, etc) so that memory isn't wasted on gobject's runtime?
	- wlr_gamma restricts write access to a single client, so only need to set on color change (don't need to set on a timer like with X)
	- Rename to "stne-nightlight" once compositor handles ICC stuff
		+ If wayland doesn't have a way to get EDID info for an output, /sys/class/drm/*/edid exists. Output names are unique across a system, so card0-dp-1 and card-dp-1 cannot exist at the same time.
		+ Ideally, wayland would provide pre-parsed EDID info: color, make, model, serial, etc.
		+ If compositor handles profiles, ensure compositor creates profiles from EDID (`cd_icc_create_from_edid_data()`) if no other profile is loaded.
* stne-lock
	- Esc should dpms off
* stne-power
	- wlr-output-power-management-unstable: watch dpms off, create idle watches of 0 to turn back on
	- if locked, ignore dbus/user screensaver inhibits
		+ How to handle sp_idle_poke() for non-user pokes? And for SimulateUserActivity?
* autorandr-ish thing? with support for pulse and wlr-outputs?
	- https://github.com/phillipberndt/autorandr/blob/master/autorandr.py
* `todo`

# Ambient light

* iio for ambient sensor + backlight adjustment? (gsd-power-manager::iio_proxy_changed())
	- https://github.com/aosp-mirror/platform_frameworks_base/blob/master/services/core/java/com/android/server/display/AutomaticBrightnessController.java
	- https://github.com/aosp-mirror/platform_frameworks_base/blob/master/services/core/java/com/android/server/display/BrightnessMappingStrategy.java
