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"
|
||||
fi
|
||||
|
||||
# TODO: Figure out a nice way to wait until Hyprland has properly started up before running this
|
||||
hyprctl hyprsunset temperature "$TEMP"
|
||||
|
|
|
@ -6,6 +6,7 @@ After=hyprsunset.service
|
|||
[Timer]
|
||||
OnCalendar=*-*-* *:*:00
|
||||
Persistent=true
|
||||
AccuracySec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue