From 5acaa240d3dde98f2bc2354ad6201e6954254b2c Mon Sep 17 00:00:00 2001 From: 张新伟 Date: Tue, 2 Jul 2024 23:22:58 +0800 Subject: feat(battery): support custom AC indicator (#12528) --- plugins/battery/README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/battery/README.md') diff --git a/plugins/battery/README.md b/plugins/battery/README.md index 18e5bd882..73fcb693e 100644 --- a/plugins/battery/README.md +++ b/plugins/battery/README.md @@ -12,6 +12,13 @@ Then, add the `battery_pct_prompt` function to your custom theme. For example: RPROMPT='$(battery_pct_prompt) ...' ``` +Also, you set the `BATTERY_CHARGING` variable to your favor. +For example: + +```zsh +BATTERY_CHARGING="⚡️" +``` + ## Requirements - On Linux, you must have the `acpi` or `acpitool` commands installed on your operating system. -- cgit v1.2.3-70-g09d2