Files
dotfiles/.config/waybar/indicators/screen-recording.sh

8 lines
173 B
Bash
Raw Normal View History

2026-03-07 19:11:53 +00:00
#!/bin/bash
if pgrep -f "^gpu-screen-recorder" >/dev/null; then
echo '{"text": "󰻂", "tooltip": "Stop recording", "class": "active"}'
else
echo '{"text": ""}'
fi