batAlarm: update notifiaction format

This commit is contained in:
Iris Lightshard 2021-03-04 00:26:34 -05:00
parent 10cc373057
commit de6f248389
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -13,12 +13,12 @@ while true; do
if [ $charge -lt 11 ]; then if [ $charge -lt 11 ]; then
if [ $flag1 -eq 0 ]; then if [ $flag1 -eq 0 ]; then
flag1=1 flag1=1
notify-send -t 10000 BATTERY ${charge}% notify-send -t 10000 battery [${charge}%]
fi fi
elif [ $charge -lt 21 ]; then elif [ $charge -lt 21 ]; then
if [ $flag2 -eq 0 ]; then if [ $flag2 -eq 0 ]; then
flag2=1 flag2=1
notify-send -t 10000 BATTERY ${charge}% notify-send -t 10000 battery [${charge}%]
fi fi
fi fi