This commit is contained in:
Daniel McCormack 2026-05-18 10:08:38 +02:00 committed by GitHub
commit 9c56b48d27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 16 additions and 16 deletions

View file

@ -66,7 +66,7 @@ if [[ "$OSTYPE" = darwin* ]]; then
if [[ "${BATTERY_SHOW_WATTS}" = "true" ]] ; then
watts=$(get_charger_power)
fi
echo "${watts}${BATTERY_CHARGING-⚡️}"
echo "${watts:-}${BATTERY_CHARGING-⚡️}"
fi
}