Make sunset timer more accurate

This commit is contained in:
Michael Bradley 2025-03-27 01:37:33 -04:00
parent 5c753ff5ec
commit 68b2e276c3
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8
2 changed files with 2 additions and 0 deletions

View file

@ -61,4 +61,5 @@ else
TEMP="$NIGHT_TEMP"
fi
# TODO: Figure out a nice way to wait until Hyprland has properly started up before running this
hyprctl hyprsunset temperature "$TEMP"

View file

@ -6,6 +6,7 @@ After=hyprsunset.service
[Timer]
OnCalendar=*-*-* *:*:00
Persistent=true
AccuracySec=5s
[Install]
WantedBy=timers.target