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:
Peter John Hartman
2021-12-27 18:44:12 -06:00
committed by Stacy Harper
parent e210528d3c
commit 63af80771c

View File

@@ -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