Skip to content

Commit 082f6a6

Browse files
implementing coderabbit fixes
1 parent a03c2f0 commit 082f6a6

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

β€Ždocs/CONFIG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ set -g @dracula-battery-label false
189189
set -g @dracula-show-battery-status true
190190
```
191191
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: 
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: ``
197197

198198

199199

β€Žscripts/battery.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,11 @@ battery_status()
126126
)
127127
echo "${battery_labels[$((bat_perc/10*10))]:-󰂃}"
128128
;;
129-
"ACattached"|"Not charging")
129+
ACattached|Notcharging|"Not charging")
130130
# drawing from AC but not charging
131+
# ACattached - MacOS
132+
# Not charging - Linux without acpi
133+
# Notcharging - Linux with acpi
131134
echo 'ξ€Š'
132135
;;
133136
finishingcharge)

0 commit comments

Comments
Β (0)