From 8e761ca50cf01b2d00a2fc276fc90df38c8e5b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Wed, 1 Apr 2009 18:11:03 +0200 Subject: [PATCH] Display "/!\" for both warn and low alert. The color now makes the difference. --- bin/battery_state | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/battery_state b/bin/battery_state index 6be45a19..45c8ad33 100755 --- a/bin/battery_state +++ b/bin/battery_state @@ -54,7 +54,7 @@ for bat in $BATS; do rem=$(search "$statefile" "remaining capacity: *\(.*\) m[AW]h") if [ "$rem" -lt "$low" ]; then - alert="\005{=b .r}! " + alert="\005{=b .r}/!\ " elif [ "$rem" -lt "$warn" ]; then alert="\005{= .y}/!\ " else