notification: fix stuck 'green' led
Sometimes it takes a while for the rm to go through, so bumping this to 1s should do the trick. Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:

committed by
Stacy Harper

parent
e210528d3c
commit
63af80771c
@@ -48,8 +48,8 @@ recreateexistingnotifs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
syncled() {
|
syncled() {
|
||||||
|
sleep 1
|
||||||
if [ "$(find "$NOTIFDIR"/ -type f | wc -l)" -gt 0 ]; then
|
if [ "$(find "$NOTIFDIR"/ -type f | wc -l)" -gt 0 ]; then
|
||||||
sleep 0.1
|
|
||||||
sxmo_setled.sh green 100
|
sxmo_setled.sh green 100
|
||||||
else
|
else
|
||||||
sxmo_setled.sh green 0
|
sxmo_setled.sh green 0
|
||||||
|
Reference in New Issue
Block a user