#!/bin/bash
if pgrep -f "[g]pu-screen-recorder" >/dev/null; then
echo '{"text": "", "tooltip": "Stop recording", "class": "active"}'
else
echo '{"text": ""}'
fi