Change screenrecorder to gpu-screen-recorder

This commit is contained in:
Ryan Hughes
2025-10-10 21:07:20 -04:00
parent 1e859d37cb
commit a54044ea30
5 changed files with 102 additions and 22 deletions

View File

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