aboutsummaryrefslogtreecommitdiff
path: root/i3blocks
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks')
-rwxr-xr-xi3blocks/i3rec.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/i3blocks/i3rec.sh b/i3blocks/i3rec.sh
new file mode 100755
index 0000000..82fede7
--- /dev/null
+++ b/i3blocks/i3rec.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Shows status of ffmpeg screen recording
+
+#case $BLOCK_BUTTON in
+# 1) # Left click
+# 2) # Middle click
+# 3) # Right click
+#esac
+
+MARKFILE='/tmp/screenRec.mark'
+[ -e $MARKFILE ] && echo "🎥✔️" && exit 0
+echo ""