diff --git a/scripts/sunset.sh b/scripts/sunset.sh index ebdcc4e..fb25f57 100755 --- a/scripts/sunset.sh +++ b/scripts/sunset.sh @@ -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" diff --git a/systemd/sunset.timer b/systemd/sunset.timer index 2f2da6c..ac60c6b 100644 --- a/systemd/sunset.timer +++ b/systemd/sunset.timer @@ -6,6 +6,7 @@ After=hyprsunset.service [Timer] OnCalendar=*-*-* *:*:00 Persistent=true +AccuracySec=5s [Install] WantedBy=timers.target