Hyprsunset is reset when/after screen locks
I've got a situation where when my screen locks, the hyprsunset resets to its default profile after a while when logging back in.
I've added the hyprsunset to .config/hypr/autostart.conf exec-once = hyprsunset and I have the following hyprsunset config:
profile {
time = 06:00
identity = true
}
profile {
time = 19:00
temperature = 3600
gamma = 0.8
}
Not sure if this is a hyprsunset bug of Omarchy affecting it. When running hyprsunset & the profile will be applied again. Does not work using Omarchy Toggle Nightlight. Any ideas or similar experiences? Thanks!
I had the same problem and ended doing it manually, until I discovered sunsetr.
Hey, that looks cool, let me try
Here's what worked for me:
- Remove the line
exec-once = hyprsunsetfrom theautostart.conffile (if you have one) and make sure that no hyprsunset process is running - Enable and start the systemd service:
systemctl --user enable hyprsunset && systemctl --user start hyprsunset
Same issue here.