Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,14 @@ which will display the battery charge and whether its charging (or just drawing
set -g @dracula-battery-label false
set -g @dracula-show-battery-status true
```
these settings will introduce the following icons:
- the battery is discharging and at the current level: 󰂎 󰁺 󰁻 󰁼 󰁽 󰁾 󰁿 󰂀 󰂁 󰂂 󰁹
- the battery is charging and at the current level: 󰢟 󰢜 󰂆 󰂇 󰂈 󰢝 󰂉 󰢞 󰂊 󰂋 󰂅
- power is being drawn from AC, but the battery is neither charging nor discharging: 
- we were able to determine that the battery is charging/ discharging, but something about the percentage went wrong: 󰂃
- we don't know the status of the battery: 



if you have no battery and would like the widget to hide in that case, set the following:

Expand Down
2 changes: 1 addition & 1 deletion scripts/battery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ battery_status()
)
echo "${battery_labels[$((bat_perc/10*10))]:-󰂃}"
;;
ACattached)
"ACattached"|"Not charging")
# drawing from AC but not charging
echo ''
;;
Expand Down