Skip to content

Commit 5a3d235

Browse files
waigxmartinbeentjes
authored andcommitted
Fix the "charged" icon for some environments (#72)
1 parent 8cb3cce commit 5a3d235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/battery_icon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ get_icon_settings() {
4444

4545
print_icon() {
4646
local status=$1
47-
if [[ $status =~ (charged) ]]; then
47+
if [[ $status =~ (charged) || $status =~ (full) ]]; then
4848
printf "$charged_icon"
4949
elif [[ $status =~ (^charging) ]]; then
5050
printf "$charging_icon"

0 commit comments

Comments
 (0)