We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6627056 commit a5378d7Copy full SHA for a5378d7
scripts/battery_color_charge.sh
@@ -90,7 +90,7 @@ print_color_charge() {
90
# if percentage is empty, assume it's a desktop
91
if [ -o "$percentage" == "" ]; then
92
printf ""
93
- elif [ $percentage -ge 95 ]; then
+ elif [ $percentage -gt 98 ]; then
94
printf "#[$primary_plane=$color_charge_primary_tier10${color_charge_secondary_tier10:+",$secondary_plane=$color_charge_secondary_tier10"}]"
95
elif [ $percentage -ge 90 ]; then
96
printf "#[$primary_plane=$color_charge_primary_tier9${color_charge_secondary_tier9:+",$secondary_plane=$color_charge_secondary_tier9"}]"
0 commit comments