batAlarm: update notifiaction format
This commit is contained in:
parent
10cc373057
commit
de6f248389
1 changed files with 2 additions and 2 deletions
|
@ -13,12 +13,12 @@ while true; do
|
|||
if [ $charge -lt 11 ]; then
|
||||
if [ $flag1 -eq 0 ]; then
|
||||
flag1=1
|
||||
notify-send -t 10000 BATTERY ${charge}%
|
||||
notify-send -t 10000 battery [${charge}%]
|
||||
fi
|
||||
elif [ $charge -lt 21 ]; then
|
||||
if [ $flag2 -eq 0 ]; then
|
||||
flag2=1
|
||||
notify-send -t 10000 BATTERY ${charge}%
|
||||
notify-send -t 10000 battery [${charge}%]
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue