feat(battery): support custom AC indicator (#12528)

This commit is contained in:
张新伟 authored and GitHub committed 2024-07-02 17:22:58 +02:00
1 parent bdd9ee3687
commit 5acaa240d3
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ if [[ "$OSTYPE" = darwin* ]]; then
fi
echo "%{$fg[$color]%}[${battery_pct}%%]%{$reset_color%}"
else
echo "∞"
echo "${BATTERY_CHARGING-⚡️}"
fi
}