#!/bin/bash # Recording status indicator if pgrep -x wl-screenrec >/dev/null 2>&1 || \ pgrep -x wf-recorder >/dev/null 2>&1 || \ pgrep -x obs >/dev/null 2>&1 || \ pgrep -f "ffmpeg.*(x11grab|gdigrab|avfoundation)" >/dev/null 2>&1; then echo '{"text": "󰻂", "tooltip": "Screen recording active", "class": "status-recording"}' else echo '{"text": "", "tooltip": "", "class": "hidden"}' fi