omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Hyprsunset is reset when/after screen locks

Open Addibro opened this issue 4 months ago • 2 comments

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!

Addibro avatar Sep 03 '25 19:09 Addibro

I had the same problem and ended doing it manually, until I discovered sunsetr.

dharmavagabond avatar Sep 03 '25 19:09 dharmavagabond

Hey, that looks cool, let me try

Addibro avatar Sep 03 '25 19:09 Addibro

Here's what worked for me:

  • Remove the line exec-once = hyprsunset from the autostart.conf file (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

rogeriopvl avatar Oct 15 '25 05:10 rogeriopvl

Same issue here.

landsman avatar Nov 03 '25 20:11 landsman