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 51499f1 commit b630ec8Copy full SHA for b630ec8
scripts/battery_status_bg.sh
@@ -30,6 +30,8 @@ print_battery_status_bg() {
30
printf $color_high_charge
31
elif [ $percentage -le 50 -a $percentage -ge 16 ];then
32
printf $color_medium_charge
33
+ elif [ "$percentage" == "" ];then
34
+ printf $color_full_charge_default # assume it's a desktop
35
else
36
printf $color_low_charge
37
fi
scripts/battery_status_fg.sh
@@ -30,6 +30,8 @@ print_battery_status_fg() {
0 commit comments