Make sunset timer more accurate
This commit is contained in:
parent
5c753ff5ec
commit
68b2e276c3
2 changed files with 2 additions and 0 deletions
|
@ -61,4 +61,5 @@ else
|
||||||
TEMP="$NIGHT_TEMP"
|
TEMP="$NIGHT_TEMP"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# TODO: Figure out a nice way to wait until Hyprland has properly started up before running this
|
||||||
hyprctl hyprsunset temperature "$TEMP"
|
hyprctl hyprsunset temperature "$TEMP"
|
||||||
|
|
|
@ -6,6 +6,7 @@ After=hyprsunset.service
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=*-*-* *:*:00
|
OnCalendar=*-*-* *:*:00
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
AccuracySec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=timers.target
|
WantedBy=timers.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue