make POSIX sh compliant

This commit is contained in:
2025-12-18 14:12:29 -08:00
parent 1f48d9808c
commit cdae221acf
11 changed files with 63 additions and 20 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
sleep 1
PID=$(pidof ffmpeg)
sleep 0.5
PID=$(pidof gpu-screen-recorder)
if [ -n "$PID" ]; then
echo " REC"
elif [ -z "$PID" ]; then
echo " IDLE"
#elif [ -z "$PID" ]; then
# echo " - "
fi