diff options
Diffstat (limited to 'waybar/waybar-screenrecord')
| -rwxr-xr-x | waybar/waybar-screenrecord | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/waybar/waybar-screenrecord b/waybar/waybar-screenrecord new file mode 100755 index 0000000..ea7b046 --- /dev/null +++ b/waybar/waybar-screenrecord @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if pgrep gpu-screen-reco >/dev/null; then + echo '{"text": "Recording ", "tooltip": "Stop recording", "class": "active"}' +else + echo '{"text": ""}' +fi |
