Files
dotfiles/.config/waybar/indicators/screen-recording.sh
2026-03-07 19:11:53 +00:00

8 lines
173 B
Bash

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