Fix phantom recording indicator

Closes #2656
Co-authored-by: @davidszp
This commit is contained in:
David Heinemeier Hansson 2025-10-31 14:09:51 +01:00
parent 3344f33104
commit fb3271f3af

View File

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