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 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... ;-]
@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
@eliasr It was uploaded to octarine for early testing at release day (https://lists.community.puri.sm/pipermail/librem-5-announce/2023-June/000015.html) . The PureOS archive restructure makes tickling down to Byzantium a bit slower.
@agx Thanks, I just got 0.28.0 now. 🙂
@devrtz added a sensor panel to mobile-settings that allows you to enable automatic HC and tweak the threshold at which ambient light intensity it kicks in:
2️⃣ /3️⃣