File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,14 @@ which will display the battery charge and whether its charging (or just drawing
188
188
set -g @dracula-battery-label false
189
189
set -g @dracula-show-battery-status true
190
190
```
191
+ these settings will introduce the following icons:
192
+ - the battery is discharging and at the current level: ` σ° ` ` σ°Ί ` ` σ°» ` ` σ°Ό ` ` σ°½ ` ` σ°Ύ ` ` σ°Ώ ` ` σ° ` ` σ° ` ` σ° ` ` σ°Ή `
193
+ - the battery is charging and at the current level: ` σ°’ ` ` σ°’ ` ` σ° ` ` σ° ` ` σ° ` ` σ°’ ` ` σ° ` ` σ°’ ` ` σ° ` ` σ° ` ` σ°
`
194
+ - power is being drawn from AC, but the battery is neither charging nor discharging: ` ξ `
195
+ - we were able to determine that the battery is charging/ discharging, but something about the percentage went wrong: ` σ° `
196
+ - we don't know the status of the battery: ` ο `
197
+
198
+
191
199
192
200
if you have no battery and would like the widget to hide in that case, set the following:
193
201
Original file line number Diff line number Diff line change @@ -126,8 +126,11 @@ battery_status()
126
126
)
127
127
echo " ${battery_labels[$((bat_perc/10*10))]:- σ°} "
128
128
;;
129
- ACattached)
129
+ ACattached|Notcharging| " Not charging " )
130
130
# drawing from AC but not charging
131
+ # ACattached - MacOS
132
+ # Not charging - Linux without acpi
133
+ # Notcharging - Linux with acpi
131
134
echo ' ξ'
132
135
;;
133
136
finishingcharge)
You canβt perform that action at this time.
0 commit comments