It's summer on the northern hemisphere again 😎 so #phosh's automatic high contrast mode got two updates that are already merged and hence will very likely be in 0.29.0:
1️⃣ /3️⃣
The transition between the normal and HC theme is now supported by an animation making it less surprising (video is at 2 x speed):
3️⃣ /3️⃣
@agx Looks cool! I remember you posting the draft last summer and thinking how useful it would be. Out of curiosity, what happens if the ambient lighting is at the transition point? e.g., is there a high/low watermark and/or debounce on the transition from light to dark and back?
It was working fine last summer,
but there was no non-CLI way of setting it up.
It uses a hysteresis around the threshold to avoid going completely mental when marginal.
See:
https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/src/ambient.c#L205-206
@okennedy yeah, as @devrtz says: they were around all along and can be enabled via https://gitlab.gnome.org/World/Phosh/phosh/-/wikis/Configuration#under-smpuriphosh - it'd wait for 0.29.0 though as the lack of an animation could make the switching a bit surprising
@agx Wow! Just yesterday was thinking how nice it would be to have my mobile Linux OS to switch automatically between dark and light themes based on the light sensor readings... ;-]