Skip to content

Commit

Permalink
Add icon for AC mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fvincenzo committed Sep 19, 2024
1 parent 66e0910 commit 08b407b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/battery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ main()
if [ -z "$bat_stat" ]; then # Test if status is empty or not
echo "$bat_label $bat_perc"
elif [ -z "$bat_perc" ]; then # In case it is a desktop with no battery percent, only AC power
echo ""
echo " AC"
else
echo "$bat_label$bat_stat $bat_perc"
fi
Expand Down

0 comments on commit 08b407b

Please sign in to comment.