diff options
Diffstat (limited to 'private_dot_local/bin/executable_waybar-screen-recorder')
| -rw-r--r-- | private_dot_local/bin/executable_waybar-screen-recorder | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/private_dot_local/bin/executable_waybar-screen-recorder b/private_dot_local/bin/executable_waybar-screen-recorder new file mode 100644 index 0000000..23cdc6f --- /dev/null +++ b/private_dot_local/bin/executable_waybar-screen-recorder | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | PID=`pgrep wf-recorder` | ||
| 4 | |||
| 5 | if [ "$PID" ]; then | ||
| 6 | echo "{ \"text\": \"⬤\", \"tooltip\": \"Kill recording\" }" | ||
| 7 | else | ||
| 8 | echo "{ \"text\": \"\" }" | ||
| 9 | fi | ||
