Files
omarchy/default/waybar/indicators/screen-recording.sh
David Heinemeier Hansson fb3271f3af Fix phantom recording indicator
Closes #2656
Co-authored-by: @davidszp
2025-10-31 14:09:51 +01:00

8 lines
169 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