Skip to content

Commit

Permalink
Fix the "charged" icon for some environments (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
waigx authored and martinbeentjes committed Dec 9, 2018
1 parent 8cb3cce commit 5a3d235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/battery_icon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ get_icon_settings() {

print_icon() {
local status=$1
if [[ $status =~ (charged) ]]; then
if [[ $status =~ (charged) || $status =~ (full) ]]; then
printf "$charged_icon"
elif [[ $status =~ (^charging) ]]; then
printf "$charging_icon"
Expand Down

0 comments on commit 5a3d235

Please sign in to comment.