8 lines
173 B
Bash
8 lines
173 B
Bash
#!/bin/bash
|
|
|
|
if pgrep -f "^gpu-screen-recorder" >/dev/null; then
|
|
echo '{"text": "", "tooltip": "Stop recording", "class": "active"}'
|
|
else
|
|
echo '{"text": ""}'
|
|
fi
|