Night light does not survive re-login on BOS: persisted via a hyprlang source line in hyprland.conf, but BOS loads hyprland.lua #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How I found it
Nested session, Displays > Night light toggled on. The app wrote
hypr/nightlight.confcontainingexec-once = hyprsunsetand appendedsource = ~/.config/hypr/nightlight.conftohypr/hyprland.conf(src/src/commands/nightlight.rswrite_autostart,util::ensure_hypr_source).Confidence
High. Observed the written files; BOS's session config is
hyprland.lua(its header says hyprlang is deprecated) and it never sourceshyprland.conf.Explanation
On login hyprsunset is not started, so night light is off even though
nightlight.tomlsays enabled. Even if it were started, the fragment launches barehyprsunsetwith no temperature, so the saved warmth would not be restored.get_nightlightreportsenabled = persist.enabled && running, so the toggle shows off after login and the user's setting appears to have been forgotten.Expected: persist through the Lua autostart path (
autostart.jsonor a Lua hook) with the saved temperature, e.g.hyprsunset -t 3500.Related UX (same page): no schedule (sunset/sunrise or custom hours) although the copy says "after dark". The Warmth slider is filed separately.