Files
omarchycn/default/waybar/indicators/screen-recording.sh
T

8 lines
168 B
Bash
Executable File

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