A manual `off` now drops ~/.local/state/nomarchy/nightlight-off and the hyprsunset unit refuses to (re)start while it exists (Unit.ConditionPathExists=!%h/...), so the off survives logout/reboot until toggled back on. `on`/toggle-on remove the marker before starting (a failed condition would otherwise no-op the start). Without the marker behaviour is unchanged: the service stays WantedBy=graphical-session.target and resumes its schedule at login, so persistence is opt-in via the toggle. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3.7 KiB
3.7 KiB