summaryrefslogtreecommitdiff
path: root/private_dot_local/bin/executable_waybar-screen-recorder
diff options
context:
space:
mode:
Diffstat (limited to 'private_dot_local/bin/executable_waybar-screen-recorder')
-rw-r--r--private_dot_local/bin/executable_waybar-screen-recorder9
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
3PID=`pgrep wf-recorder`
4
5if [ "$PID" ]; then
6 echo "{ \"text\": \"⬤\", \"tooltip\": \"Kill recording\" }"
7else
8 echo "{ \"text\": \"\" }"
9fi