Compare commits

..

No commits in common. "68b2e276c3041325a5c911e4d77112fbe42f0e3c" and "76930fe03390499b0280c1b07701662b2abcec57" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View file

@ -9,7 +9,7 @@ SUNSET_END="$((23 * 60 * 60))" # When to reach min temperature
DAY_TEMP="6000" # Display temperature (K) to use in full daylight
NIGHT_TEMP="2400" # Display temperature (K) to use at night
CURRENT="$(((($(date '+%-H') * 60) + $(date '+%-M')) * 60 + $(date '+%-S')))" # Time in seconds since start of day
CURRENT="$(((($(date '+%H') * 60) + $(date '+%M')) * 60 + $(date '+%S')))" # Time in seconds since start of day
# Performs a calculation using an argument containing an input string
calc() {
@ -61,5 +61,4 @@ 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,7 +6,6 @@ After=hyprsunset.service
[Timer]
OnCalendar=*-*-* *:*:00
Persistent=true
AccuracySec=5s
[Install]
WantedBy=timers.target