Display "/!\" for both warn and low alert. The color now makes the difference.

This commit is contained in:
Raphaël Pinson 2009-04-01 18:11:03 +02:00
commit 8e761ca50c

View file

@ -54,7 +54,7 @@ for bat in $BATS; do
rem=$(search "$statefile" "remaining capacity: *\(.*\) m[AW]h") rem=$(search "$statefile" "remaining capacity: *\(.*\) m[AW]h")
if [ "$rem" -lt "$low" ]; then if [ "$rem" -lt "$low" ]; then
alert="\005{=b .r}! " alert="\005{=b .r}/!\ "
elif [ "$rem" -lt "$warn" ]; then elif [ "$rem" -lt "$warn" ]; then
alert="\005{= .y}/!\ " alert="\005{= .y}/!\ "
else else