replace setpineled C program with a shell script
Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
parent
5ccfeacfac
commit
ce3f2ea319
6 changed files with 29 additions and 64 deletions
|
@ -43,10 +43,10 @@ recreateexistingnotifs() {
|
|||
}
|
||||
|
||||
syncled() {
|
||||
sxmo_setpineled green 0
|
||||
sxmo_setpineled.sh green 0
|
||||
if [ "$(find "$NOTIFDIR"/ -type f | wc -l)" -gt 0 ]; then
|
||||
sleep 0.1
|
||||
sxmo_setpineled green 1
|
||||
sxmo_setpineled.sh green 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue