fixed issue with multiple moons (me dumb)

This commit is contained in:
Kelly Roberts 2022-09-03 11:15:47 -07:00
parent da0d2e3853
commit 106b5c345c
No known key found for this signature in database
GPG Key ID: DE0702E8A90CB0EB

View File

@ -38,4 +38,4 @@ for battery in /sys/class/power_supply/BAT?*; do
[ "$colortemp" -lt 6500 ] && night=" 🌙" [ "$colortemp" -lt 6500 ] && night=" 🌙"
# Prints the info # Prints the info
printf "%s%s%d%%%s" "$status" "$warn" "$capacity" "$night"; unset warn printf "%s%s%d%%%s" "$status" "$warn" "$capacity" "$night"; unset warn
done && printf "\\n" done && printf "$night" "\\n"